Skip to content

Commit

Permalink
[#139] fix : SignUp api 3.0 명세 반영
Browse files Browse the repository at this point in the history
  • Loading branch information
serioushyeon committed Oct 17, 2024
1 parent 76d5b55 commit f9d9817
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class SignViewModel: ViewModel() {
fun signUp(fragment: Fragment, mainActivity: MainActivity) {
var apiClient = ApiClient(mainActivity)

apiClient.apiService.signUp(SignUpRequest(MyApplication.email, MyApplication.email, MyApplication.password))?.enqueue(object :
apiClient.apiService.signUp(SignUpRequest(MyApplication.email, MyApplication.password))?.enqueue(object :
Callback<BaseResponse> {
override fun onResponse(call: Call<BaseResponse>, response: Response<BaseResponse>) {
if (response.isSuccessful) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.project.balpyo.api.request

data class SignUpRequest(
val username: String,
val email: String,
val password: String,
val password: String
)

0 comments on commit f9d9817

Please sign in to comment.