Merge branch 'AccountsRest2'
commit afffe5a38c423a69be39d934043fd4b2a23bde93
2 parents cbfac4e + 3feb604
KeijuMatsumoto authored on 31 May 2018
Showing 1 changed file
View
7
src/main/java/cactusServer/resources/AccountsRest.java
@Produces(MediaType.APPLICATION_JSON)
public Account getAccount(@PathParam("uniqueID") String uniqueID) {
return Accounts.getInstance().getAccountByuniqueID(uniqueID);
}
@DELETE
@Produces(MediaType.APPLICATION_JSON)
public Account deleteAccount(@FormParam("token") String token) {
return Accounts.getInstance().deleteAccount(token);
}
 
}