mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-14 14:20:29 +05:30
Fix for subscriptions not working after hibernate update.
This commit is contained in:
parent
73fa1edf25
commit
f19f2b4c9a
@ -424,7 +424,7 @@ public class FeedHandlers {
|
|||||||
CriteriaBuilder cb = s.getCriteriaBuilder();
|
CriteriaBuilder cb = s.getCriteriaBuilder();
|
||||||
var query = cb.createQuery(Channel.class);
|
var query = cb.createQuery(Channel.class);
|
||||||
var root = query.from(Channel.class);
|
var root = query.from(Channel.class);
|
||||||
var subquery = query.subquery(User.class);
|
var subquery = query.subquery(String.class);
|
||||||
var subroot = subquery.from(User.class);
|
var subroot = subquery.from(User.class);
|
||||||
|
|
||||||
subquery.select(subroot.get("subscribed_ids"))
|
subquery.select(subroot.get("subscribed_ids"))
|
||||||
|
Loading…
Reference in New Issue
Block a user