mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix authenticated RSS feeds.
This commit is contained in:
parent
a794573ea8
commit
eae003e422
1 changed files with 1 additions and 0 deletions
|
@ -917,6 +917,7 @@ public class ResponseHelper {
|
|||
// Get all videos from subscribed channels, with channel info
|
||||
CriteriaQuery<Video> criteria = cb.createQuery(Video.class);
|
||||
var root = criteria.from(Video.class);
|
||||
root.fetch("channel", JoinType.INNER);
|
||||
var subquery = criteria.subquery(User.class);
|
||||
var subroot = subquery.from(User.class);
|
||||
subquery.select(subroot.get("subscribed_ids"))
|
||||
|
|
Loading…
Reference in a new issue