From ef2f587002fb0c379291ec38efe1f3dd23f37cd8 Mon Sep 17 00:00:00 2001 From: minseonglove Date: Fri, 22 Apr 2022 23:15:25 +0900 Subject: [PATCH] =?UTF-8?q?FIX=20:=20Login=20Retrofit=20=EC=98=A4=EB=A5=98?= =?UTF-8?q?=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/bidderbidderCI.yml | 4 ++-- .../bidderbidder/api/service/UserLoginService.kt | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/bidderbidderCI.yml b/.github/workflows/bidderbidderCI.yml index c1164433..c482b153 100644 --- a/.github/workflows/bidderbidderCI.yml +++ b/.github/workflows/bidderbidderCI.yml @@ -51,8 +51,8 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: - tag_name: "release" - release_name: Release + tag_name: ${{ github.ref }} + release_name: Release ${{ github.ref }} - name: Upload Release APK id: upload_release_asset uses: actions/upload-release-asset@v1 diff --git a/app/src/main/kotlin/com/fakedevelopers/bidderbidder/api/service/UserLoginService.kt b/app/src/main/kotlin/com/fakedevelopers/bidderbidder/api/service/UserLoginService.kt index 44c3c399..b2e080be 100644 --- a/app/src/main/kotlin/com/fakedevelopers/bidderbidder/api/service/UserLoginService.kt +++ b/app/src/main/kotlin/com/fakedevelopers/bidderbidder/api/service/UserLoginService.kt @@ -1,11 +1,12 @@ package com.fakedevelopers.bidderbidder.api.service import retrofit2.Response +import retrofit2.http.Field import retrofit2.http.FormUrlEncoded import retrofit2.http.POST interface UserLoginService { @FormUrlEncoded @POST("user/login") - suspend fun postLogin(email: String, passwd: String): Response + suspend fun postLogin(@Field("email") email: String,@Field("passwd") passwd: String): Response }