Skip to content

Instantly share code, notes, and snippets.

@loganj
Last active April 18, 2017 17:44
Show Gist options
  • Save loganj/01ea4647cead5b84a1053d849331cb7d to your computer and use it in GitHub Desktop.
Save loganj/01ea4647cead5b84a1053d849331cb7d to your computer and use it in GitHub Desktop.
commit ee46355557abe4ebc816f6cef9821e64c25b22f0
Author: Logan Johnson
Date: Wed Dec 9 17:49:35 2015 -0500
GET /account/status
diff --git a/common/services/src/main/java/com/squareup/server/account/AccountService.java b/common/services/src/main/java/com/squareup/server/account/AccountService.java
index da02d2f..20c7c43 100644
--- a/common/services/src/main/java/com/squareup/server/account/AccountService.java
+++ b/common/services/src/main/java/com/squareup/server/account/AccountService.java
@@ -48,11 +48,11 @@ public interface AccountService {
* @deprecated use {@link #status()}
*/
@Deprecated
- @POST("/1.0/account/status") //
+ @GET("/1.0/account/status") //
void status(SquareCallback<AccountStatusResponse> callback);
/** Queries the account status. */
- @POST("/1.0/account/status") //
+ @GET("/1.0/account/status") //
AccountStatusResponse status();
/** Saves all preferences to server. Any null values will be left unchanged on the server. */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment