Skip to content

Commit

Permalink
refactor/#9: getUserInfo 코루틴으로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed May 24, 2024
1 parent 387f741 commit 80ce0cb
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/src/main/java/com/sopt/now/test/data/UserService.kt
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
package com.sopt.now.test.data

import com.sopt.now.test.data.dto.response.ResponseUserInfoDto
import retrofit2.Call
import retrofit2.http.GET

interface UserService {
@GET("member/info")
fun getUserInfo(
): Call<ResponseUserInfoDto>
suspend fun getUserInfo(
): ResponseUserInfoDto
}

0 comments on commit 80ce0cb

Please sign in to comment.