Skip to content

Commit

Permalink
Fixed ToolUsage API.
Browse files Browse the repository at this point in the history
@Auth is required, when changing the order of elements.
  • Loading branch information
friehmaen committed Sep 22, 2015
1 parent 627e8f7 commit a58a87b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ Response removeUsagesForTool(@Auth User user,
@POST
@Path("/{toolId}/{usageId}")
@Produces(MediaType.APPLICATION_JSON)
Response moveAfter(User user, @PathParam("toolId") long toolId,
@Consumes(MediaType.APPLICATION_JSON)
Response moveAfter(@Auth User user, @PathParam("toolId") long toolId,
@PathParam("usageId") long usageId,
@QueryParam("afterId") long afterId);

Expand Down

0 comments on commit a58a87b

Please sign in to comment.