We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d61c6a9 commit 9622486Copy full SHA for 9622486
data/src/main/java/com/threegap/bitnagil/data/emotion/service/EmotionService.kt
@@ -8,6 +8,7 @@ import com.threegap.bitnagil.network.model.BaseResponse
8
import retrofit2.http.Body
9
import retrofit2.http.GET
10
import retrofit2.http.POST
11
+import retrofit2.http.Path
12
import retrofit2.http.Query
13
14
interface EmotionService {
@@ -19,8 +20,8 @@ interface EmotionService {
19
20
@Body request: RegisterEmotionRequest,
21
): BaseResponse<RegisterEmotionResponse>
22
- @GET("/api/v1/emotion-marbles/me")
23
+ @GET("/api/v1/emotion-marbles/{searchDate}")
24
suspend fun getMyEmotionMarble(
- @Query("searchDate") date: String,
25
+ @Path("searchDate") date: String,
26
): BaseResponse<MyEmotionResponseDto>
27
}
0 commit comments