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 }