mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
indicate that the method returns the id of the newly created feed (#1147)
This commit is contained in:
@@ -379,7 +379,7 @@ public class FeedREST {
|
|||||||
@POST
|
@POST
|
||||||
@Path("/subscribe")
|
@Path("/subscribe")
|
||||||
@UnitOfWork
|
@UnitOfWork
|
||||||
@ApiOperation(value = "Subscribe to a feed", notes = "Subscribe to a feed")
|
@ApiOperation(value = "Subscribe to a feed", notes = "Subscribe to a feed", response = Long.class)
|
||||||
@Timed
|
@Timed
|
||||||
public Response subscribe(@ApiParam(hidden = true) @SecurityCheck User user,
|
public Response subscribe(@ApiParam(hidden = true) @SecurityCheck User user,
|
||||||
@Valid @ApiParam(value = "subscription request", required = true) SubscribeRequest req) {
|
@Valid @ApiParam(value = "subscription request", required = true) SubscribeRequest req) {
|
||||||
|
|||||||
Reference in New Issue
Block a user