diff --git a/src/main/java/org/ntlab/nemophila/resources/accounts/LoginRest.java b/src/main/java/org/ntlab/nemophila/resources/accounts/LoginRest.java index f696126..48e55cf 100644 --- a/src/main/java/org/ntlab/nemophila/resources/accounts/LoginRest.java +++ b/src/main/java/org/ntlab/nemophila/resources/accounts/LoginRest.java @@ -12,7 +12,7 @@ public class LoginRest { @POST @Path("/{uid}/login") - public Account getAccounts(@FormParam("uid") String uid, @FormParam("pw") String pw) { + public Account getAccounts(@PathParam("uid") String uid, @FormParam("pw") String pw) { AccountManager am = AccountManager.getInstance(); Account account = am.getAccount(uid);