diff --git a/app/src/main/java/com/sopt/now/test/data/AuthService.kt b/app/src/main/java/com/sopt/now/test/data/AuthService.kt index 6137e3f..fb38e1a 100644 --- a/app/src/main/java/com/sopt/now/test/data/AuthService.kt +++ b/app/src/main/java/com/sopt/now/test/data/AuthService.kt @@ -3,18 +3,20 @@ package com.sopt.now.test.data import com.sopt.now.test.data.dto.request.RequestLoginDto import com.sopt.now.test.data.dto.request.RequestSignUpDto import com.sopt.now.test.data.dto.response.ResponseAuthDto -import retrofit2.Call +import retrofit2.Response import retrofit2.http.Body import retrofit2.http.POST interface AuthService { + // 회원가입 @POST("member/join") suspend fun postSignUp( @Body request: RequestSignUpDto ): ResponseAuthDto + // 로그인 @POST("member/login") - fun postLogin( + suspend fun postLogin( @Body request: RequestLoginDto, - ): Call + ): Response } \ No newline at end of file