in queryResolver.MySavedStudysets, the query includes AND s.private = false.
This excludes the user’s own private studysets that they have saved.
We could change the condition to AND (s.private = false OR s.user_id = $1), or we could make sure user's own studysets are excluded from being added to "saved studysets", since the frontend currently hides the save button from the UI on users' own studysets (public or private). Technically it's still possible through the API (I think), so either the API should not allow saving your own studysets at all, which is why they wouldn't show up in the resolver's query either, or it should allow it and it should show up in that resolver.
in
queryResolver.MySavedStudysets, the query includesAND s.private = false.This excludes the user’s own private studysets that they have saved.
We could change the condition to AND (s.private = false OR s.user_id = $1), or we could make sure user's own studysets are excluded from being added to "saved studysets", since the frontend currently hides the save button from the UI on users' own studysets (public or private). Technically it's still possible through the API (I think), so either the API should not allow saving your own studysets at all, which is why they wouldn't show up in the resolver's query either, or it should allow it and it should show up in that resolver.