From 2876b24fee6ede2b2cef71204da3afdc0174637b Mon Sep 17 00:00:00 2001 From: MajoritySky2496 Date: Wed, 26 Jun 2024 22:35:21 +0500 Subject: [PATCH] 1) fix ResetPasswordApiService saveNewPassword --- .../authorization/data/api/ResetPasswordApiService.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/app/cashadvisor/authorization/data/api/ResetPasswordApiService.kt b/app/src/main/java/app/cashadvisor/authorization/data/api/ResetPasswordApiService.kt index ff288d4..5e4e2e3 100644 --- a/app/src/main/java/app/cashadvisor/authorization/data/api/ResetPasswordApiService.kt +++ b/app/src/main/java/app/cashadvisor/authorization/data/api/ResetPasswordApiService.kt @@ -9,6 +9,7 @@ import app.cashadvisor.authorization.data.models.response.SaveNewPasswordRespons import retrofit2.http.Body import retrofit2.http.Headers import retrofit2.http.POST +import retrofit2.http.PUT interface ResetPasswordApiService { @@ -21,7 +22,7 @@ interface ResetPasswordApiService { suspend fun resetPasswordConfirm(@Body resetPasswordRequest: ResetPasswordWithCodeRequest):ConfirmResetPasswordResponse @Headers("Content-Type: application/json") - @POST("auth/login/reset/password") + @PUT("auth/login/reset/password/put") suspend fun saveNewPassword(@Body saveNewPasswordRequest: SaveNewPasswordRequest):SaveNewPasswordResponse } \ No newline at end of file