mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Fix for subscriptions not working after hibernate update.
This commit is contained in:
parent
73fa1edf25
commit
f19f2b4c9a
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue