From 290e930cdb2207251aa2fc9846ee03b574d94b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20Ch=C3=A2n=20Gridel?= Date: Mon, 11 Mar 2024 00:18:24 +0100 Subject: [PATCH] feat(api): description elipsis --- .../org/talenthub/presentation/resources/MissionResource.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/talent-hub_api/src/main/kotlin/org/talenthub/presentation/resources/MissionResource.kt b/talent-hub_api/src/main/kotlin/org/talenthub/presentation/resources/MissionResource.kt index d0a1f2b..8710534 100644 --- a/talent-hub_api/src/main/kotlin/org/talenthub/presentation/resources/MissionResource.kt +++ b/talent-hub_api/src/main/kotlin/org/talenthub/presentation/resources/MissionResource.kt @@ -13,6 +13,7 @@ import org.talenthub.infrastructure.persistence.repository.MissionRepository import org.talenthub.infrastructure.persistence.service.MissionService import org.talenthub.infrastructure.persistence.service.Result import java.net.http.HttpClient +import kotlin.math.min @Path("/missions") class MissionResource @Inject constructor(