forked from Archives/Athou_commafeed
no need to start a transaction to fetch favicons
This commit is contained in:
@@ -341,7 +341,6 @@ public class FeedREST {
|
|||||||
@GET
|
@GET
|
||||||
@Path("/favicon/{id}")
|
@Path("/favicon/{id}")
|
||||||
@Cache(maxAge = 2592000)
|
@Cache(maxAge = 2592000)
|
||||||
@Transactional
|
|
||||||
@Operation(summary = "Fetch a feed's icon", description = "Fetch a feed's icon")
|
@Operation(summary = "Fetch a feed's icon", description = "Fetch a feed's icon")
|
||||||
public Response getFeedFavicon(@Parameter(description = "subscription id", required = true) @PathParam("id") Long id) {
|
public Response getFeedFavicon(@Parameter(description = "subscription id", required = true) @PathParam("id") Long id) {
|
||||||
Preconditions.checkNotNull(id);
|
Preconditions.checkNotNull(id);
|
||||||
|
|||||||
Reference in New Issue
Block a user