Skip to content

Commit

Permalink
Updated log method to POST with empty body
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaison Titus committed Jul 7, 2017
1 parent 7f3d89d commit 8c98739
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public Call<MessageResponse, HasuraException> changeUserName(ChangeUserNameReque
public Call<LogoutResponse, HasuraException> logout() {
Type respType = new TypeToken<LogoutResponse>() {
}.getType();
return makeGetCall("user/logout", respType);
return makePostCall("user/logout","{}", respType);
}

}

0 comments on commit 8c98739

Please sign in to comment.