From ddf2b74452198c511be51d36b72d20b6f844b96f Mon Sep 17 00:00:00 2001 From: Mauran Date: Wed, 17 Jan 2024 07:25:10 +0100 Subject: [PATCH] chore: lint Signed-off-by: Mauran --- .../com/linkedout/backend/service/RecommendationService.kt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/backend/api_gateway/src/main/kotlin/com/linkedout/backend/service/RecommendationService.kt b/backend/api_gateway/src/main/kotlin/com/linkedout/backend/service/RecommendationService.kt index f36f52f..feac551 100644 --- a/backend/api_gateway/src/main/kotlin/com/linkedout/backend/service/RecommendationService.kt +++ b/backend/api_gateway/src/main/kotlin/com/linkedout/backend/service/RecommendationService.kt @@ -1,16 +1,11 @@ package com.linkedout.backend.service -import com.linkedout.backend.model.Company -import com.linkedout.backend.model.Job -import com.linkedout.backend.model.JobOffer import com.linkedout.backend.model.Recommendation import com.linkedout.common.service.NatsService import com.linkedout.common.utils.RequestResponseFactory -import com.linkedout.proto.models.JobOfferOuterClass import com.linkedout.proto.services.Recommendations import org.springframework.beans.factory.annotation.Value import org.springframework.stereotype.Service -import java.time.LocalDate @Service class RecommendationService( @@ -20,7 +15,7 @@ class RecommendationService( fun findAll(requestId: String): List { // Request job offers from the job service val request = RequestResponseFactory.newRequest(requestId) - .setGetUserRecommendation( + .setGetRecommendationRequest( Recommendations.GetRecommendationRequest.newBuilder() ) .build()