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 fd5c4e8..d0a1f2b 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 @@ -106,15 +106,20 @@ class MissionResource @Inject constructor( "inline": true }, { - "name": "๐Ÿ“… Deadline", - "value": "${mission.deadline}", + "name": "๐Ÿ“ Description", + "value": "${mission.description.substring(0, min(255, mission.description.length))}${if (mission.description.length > 255) "..." else ""}", "inline": true }, { "name": "๐Ÿ™ŽContacter", "value": "<@${mission.employerSnowflake}>", "inline": false - } + }, + { + "name": "๐Ÿ“… Deadline", + "value": "${mission.deadline}", + "inline": true + }, ], "color": 3092790 }