Skip to content

Commit

Permalink
it works!
Browse files Browse the repository at this point in the history
  • Loading branch information
arjvik committed Mar 9, 2018
1 parent 51c7e2f commit 006046b
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
Binary file added bin/API##1.5.2.0.war
Binary file not shown.
1 change: 1 addition & 0 deletions src/com/arjvik/arjmart/api/user/UserID.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ public UserID() {
}
public UserID(int ID) {
this();
this.ID = ID;
}
public int getID() {
return ID;
Expand Down
2 changes: 1 addition & 1 deletion src/com/arjvik/arjmart/api/user/UserResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public UserResource(UserDAO userDAO) {

@GET
@Authorized
public Response getUser(@Context @InjectUserID Integer userID) {
public Response getUserID(@Context @InjectUserID Integer userID) {
return Response.ok(new UserID(userID)).build();
}

Expand Down

0 comments on commit 006046b

Please sign in to comment.