generated from NOW-SOPT-ANDROID/now-sopt-android-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor/#9 : getFriendInfo를 suspend 함수로 변경
- Loading branch information
1 parent
4ea0fb5
commit 9a0ead4
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
package com.sopt.now.test.data | ||
|
||
import com.sopt.now.test.data.dto.response.ResponseFriendDto | ||
import retrofit2.Call | ||
import retrofit2.http.GET | ||
import retrofit2.http.Query | ||
|
||
interface FriendService { | ||
// 친구 프로필 | ||
@GET("users") | ||
fun getFriendInfo( | ||
suspend fun getFriendInfo( | ||
@Query("page") page: Int, | ||
): Call<ResponseFriendDto> | ||
): ResponseFriendDto | ||
} |