From 2b389c8659f24a3f78ed5360edaa5a8b39bd53c7 Mon Sep 17 00:00:00 2001 From: LEE YOU BIN Date: Sun, 8 Sep 2024 23:35:08 +0900 Subject: [PATCH] =?UTF-8?q?[FEAT/#226]=20=ED=94=84=EB=A1=9C=ED=95=84=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt | 2 +- .../src/main/java/com/terning/data/service/MyPageService.kt | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt b/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt index bc96ce7b0..a1560963c 100644 --- a/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt +++ b/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt @@ -19,5 +19,5 @@ class MyPageDataSourceImpl @Inject constructor( override suspend fun editProfile( request: MyPageProfileEditRequestDto - ): NonDataBaseResponse = myPageService.editProfile() + ): NonDataBaseResponse = myPageService.editProfile(request) } \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/service/MyPageService.kt b/data/src/main/java/com/terning/data/service/MyPageService.kt index 6ce2d16ae..9b7a62b61 100644 --- a/data/src/main/java/com/terning/data/service/MyPageService.kt +++ b/data/src/main/java/com/terning/data/service/MyPageService.kt @@ -2,7 +2,9 @@ package com.terning.data.service import com.terning.data.dto.BaseResponse import com.terning.data.dto.NonDataBaseResponse +import com.terning.data.dto.request.MyPageProfileEditRequestDto import com.terning.data.dto.response.MyPageResponseDto +import retrofit2.http.Body import retrofit2.http.DELETE import retrofit2.http.GET import retrofit2.http.PATCH @@ -19,5 +21,7 @@ interface MyPageService { suspend fun getProfile(): BaseResponse @PATCH("api/v1/mypage/profile") - suspend fun editProfile(): NonDataBaseResponse + suspend fun editProfile( + @Body body: MyPageProfileEditRequestDto + ): NonDataBaseResponse } \ No newline at end of file