diff --git a/src/main/java/cactusServer/resources/AccountsRest.java b/src/main/java/cactusServer/resources/AccountsRest.java index 0048053..7bb09b0 100644 --- a/src/main/java/cactusServer/resources/AccountsRest.java +++ b/src/main/java/cactusServer/resources/AccountsRest.java @@ -20,7 +20,7 @@ @POST @Path("/logout") @Produces(MediaType.TEXT_PLAIN) - public String logoutAccount(@FormParam("token") String token) { + public Account logoutAccount(@FormParam("token") String token) { return Accounts.getInstance().logoutAccount(token); }