Skip to content

Commit

Permalink
[feature/#92] AuthService 프로필 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
kkk5474096 committed Jan 4, 2023
1 parent 708cff4 commit 2f4bb69
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import com.teamfillin.fillin.core.converter.JsonConverter
import com.teamfillin.fillin.data.response.BaseResponse
import com.teamfillin.fillin.data.response.ResponseAuth
import com.teamfillin.fillin.data.response.ResponseRefresh
import com.teamfillin.fillin.data.response.ResponseUpdateUser
import okhttp3.MultipartBody
import okhttp3.RequestBody
import retrofit2.Call
import retrofit2.http.*

Expand All @@ -22,4 +25,11 @@ interface AuthService {
@Header("accesstoken") accessToken: String,
@Header("refreshtoken") refreshToken: String
): Call<BaseResponse<ResponseRefresh>>

@Multipart
@PUT("user/edit")
suspend fun putUser(
@Part media: MultipartBody.Part?,
@PartMap body: HashMap<String, RequestBody>
): BaseResponse<ResponseUpdateUser>
}

0 comments on commit 2f4bb69

Please sign in to comment.