Skip to content

Commit

Permalink
[chore] : AuthService 콜백 타입 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
chanubc committed Jan 3, 2024
1 parent 305a3ac commit bfc726e
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,17 @@ package org.sopt.dosopttemplate.data.service
import org.sopt.dosopttemplate.data.dto.remote.request.RequestLoginDto
import org.sopt.dosopttemplate.data.dto.remote.request.RequestSignUpDto
import org.sopt.dosopttemplate.data.dto.remote.respose.ResponseLoginDto
import retrofit2.Response
import retrofit2.http.Body
import retrofit2.http.POST

interface AuthService {
@POST("api/v1/members/sign-in")
suspend fun postLogin(
@Body request: RequestLoginDto,
): Response<ResponseLoginDto>
): ResponseLoginDto

@POST("api/v1/members")
suspend fun postSignUp(
@Body request: RequestSignUpDto,
): Response<Unit>
): Unit
}

0 comments on commit bfc726e

Please sign in to comment.