From ad9bbb77b6a7112c05ee7d579a18ddd8a18181ee Mon Sep 17 00:00:00 2001 From: James Damilare Date: Wed, 14 Dec 2022 11:46:40 +0100 Subject: [PATCH] Revert "Revert "Merge fix professional profile entries return professional as null"" --- .../applyforme/service/impl/JobSubmissionServiceImpl.java | 2 -- .../applyforme/service/impl/ProfessionalProfileServiceImpl.java | 2 -- 2 files changed, 4 deletions(-) diff --git a/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/JobSubmissionServiceImpl.java b/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/JobSubmissionServiceImpl.java index 46722b90..66459e1f 100644 --- a/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/JobSubmissionServiceImpl.java +++ b/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/JobSubmissionServiceImpl.java @@ -34,7 +34,6 @@ public class JobSubmissionServiceImpl implements JobSubmissionService { private final MemberJpaRepository memberJpaRepository; private final MemberRepository memberRepository; private final ApplierJpaRepository applierJpaRepository; - private final ProfessionalJpaRepository professionalJpaRepository; private final SubmissionRepository submissionRepository; private final ProfessionalProfileRepository professionalProfileRepository; @@ -59,7 +58,6 @@ public JobSubmissionServiceImpl(JobSubmissionRepository repository, ApplierRepos this.jobSubmissionRepository = jobSubmissionRepository; this.memberJpaRepository = memberJpaRepository; this.memberRepository = memberRepository; - this.professionalJpaRepository = professionalJpaRepository; this.applierJpaRepository = applierJpaRepository; this.professionalProfileRepository = professionalProfileRepository; this.submissionRepository = submissionRepository; diff --git a/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/ProfessionalProfileServiceImpl.java b/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/ProfessionalProfileServiceImpl.java index a3229af6..27e06f82 100644 --- a/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/ProfessionalProfileServiceImpl.java +++ b/Apply-For-Me-Api/src/main/java/com/hydraulic/applyforme/service/impl/ProfessionalProfileServiceImpl.java @@ -97,8 +97,6 @@ private ApplyForMeResponse getJobProfessionalProfileResponse(Page