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