Skip to content

Commit

Permalink
[fix] : ReqresService suspend 함수 변경, return type 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Dec 31, 2023
1 parent de07656 commit 4941b93
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
package org.sopt.dosopttemplate.data.service

import org.sopt.dosopttemplate.data.dto.remote.respose.ResponseReqresDto
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

interface ReqresService {
@GET("api/users")
fun getUserList(
suspend fun getUserList(
@Query("page") page: Int,
): Call<ResponseReqresDto>
): ResponseReqresDto
}

0 comments on commit 4941b93

Please sign in to comment.