Skip to content

Commit

Permalink
fix: Resend email code with json body
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Dec 6, 2024
1 parent b40b984 commit 02a4d1f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ internal class UploadRequest(json: Json, httpClient: HttpClient) : BaseRequest(j

suspend fun resendEmailCode(resendEmailCodeBody: ResendEmailCodeBody): Boolean {
val httpResponse = httpClient.post(url = createUrl(ApiRoutes.resendEmailCode)) {
contentType(ContentType.Application.Json)
setBody(resendEmailCodeBody)
}
return httpResponse.status.isSuccess()
Expand Down

0 comments on commit 02a4d1f

Please sign in to comment.