Skip to content

Commit

Permalink
refactor/#9 : getFriendInfo를 suspend 함수로 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
youjin09222 committed Jun 6, 2024
1 parent 4ea0fb5 commit 9a0ead4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/main/java/com/sopt/now/test/data/FriendService.kt
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
}

0 comments on commit 9a0ead4

Please sign in to comment.