Skip to content

Commit 9622486

Browse files
committed
Fix: 감정구슬 조회 api Query에서 Path로 변경
1 parent d61c6a9 commit 9622486

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

data/src/main/java/com/threegap/bitnagil/data/emotion/service/EmotionService.kt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import com.threegap.bitnagil.network.model.BaseResponse
88
import retrofit2.http.Body
99
import retrofit2.http.GET
1010
import retrofit2.http.POST
11+
import retrofit2.http.Path
1112
import retrofit2.http.Query
1213

1314
interface EmotionService {
@@ -19,8 +20,8 @@ interface EmotionService {
1920
@Body request: RegisterEmotionRequest,
2021
): BaseResponse<RegisterEmotionResponse>
2122

22-
@GET("/api/v1/emotion-marbles/me")
23+
@GET("/api/v1/emotion-marbles/{searchDate}")
2324
suspend fun getMyEmotionMarble(
24-
@Query("searchDate") date: String,
25+
@Path("searchDate") date: String,
2526
): BaseResponse<MyEmotionResponseDto>
2627
}

0 commit comments

Comments
 (0)