mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
explicitely set the response type
This commit is contained in:
@@ -335,6 +335,7 @@ public class FeedREST extends AbstractResourceREST {
|
||||
@POST
|
||||
@Path("/import")
|
||||
@Consumes(MediaType.MULTIPART_FORM_DATA)
|
||||
@Produces(MediaType.APPLICATION_JSON)
|
||||
@ApiOperation(value = "OPML import", notes = "Import an OPML file, posted as a FORM with the 'file' name")
|
||||
public Response importOpml() {
|
||||
if (StartupBean.USERNAME_DEMO.equals(getUser().getName())) {
|
||||
|
||||
Reference in New Issue
Block a user