Skip to content

Commit a69d994

Browse files
Kiwifed0rrogerhu
authored andcommitted
Changed endpoint classes/_User to users (#717)
1 parent 28c739c commit a69d994

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Parse/src/main/java/com/parse/ParseRESTUserCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public static ParseRESTUserCommand getCurrentUserCommand(String sessionToken) {
3333
public static ParseRESTUserCommand signUpUserCommand(JSONObject parameters, String sessionToken,
3434
boolean revocableSession) {
3535
return new ParseRESTUserCommand(
36-
"classes/_User", ParseHttpRequest.Method.POST, parameters, sessionToken, revocableSession);
36+
"users", ParseHttpRequest.Method.POST, parameters, sessionToken, revocableSession);
3737
}
3838

3939
public static ParseRESTUserCommand logInUserCommand(String username, String password,

Parse/src/test/java/com/parse/ParseRESTUserCommandTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ public void testSignUpUserCommand() throws Exception {
8686
ParseRESTUserCommand command =
8787
ParseRESTUserCommand.signUpUserCommand(parameters, "sessionToken", true);
8888

89-
assertEquals("classes/_User", command.httpPath);
89+
assertEquals("users", command.httpPath);
9090
assertEquals(ParseHttpRequest.Method.POST, command.method);
9191
assertEquals("value", command.jsonParameters.getString("key"));
9292
assertEquals("sessionToken", command.getSessionToken());

0 commit comments

Comments
 (0)