mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00: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();
|
||||
var query = cb.createQuery(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);
|
||||
|
||||
subquery.select(subroot.get("subscribed_ids"))
|
||||
|
Loading…
Reference in New Issue
Block a user