diff --git a/app/src/main/java/com/example/citrusclient/viewmodels/SettingsViewModel.java b/app/src/main/java/com/example/citrusclient/viewmodels/SettingsViewModel.java index 64b850d..8afc4a4 100644 --- a/app/src/main/java/com/example/citrusclient/viewmodels/SettingsViewModel.java +++ b/app/src/main/java/com/example/citrusclient/viewmodels/SettingsViewModel.java @@ -64,8 +64,8 @@ //なんちゃって通信ver1 //PW変更時のサーバ通信プログラム - public void changePW(String accountId, String old_password, String new_password,String token){ - Call call = accountsRest.changePW(accountId, old_password, new_password, token); + public void changePW(String accountId, String new_password, String old_password,String token){ + Call call = accountsRest.changePW(accountId,new_password, old_password, token); call.enqueue(new Callback() { @Override public void onResponse(Call call, Response response) {