Skip to content

Commit e856aa7

Browse files
committed
fix: sqlalchemy bug in citation screenings api
1 parent 201ed73 commit e856aa7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

colandr/api/v1/routes/citation_screenings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def get(self, query_data):
327327
if (
328328
current_user.is_admin is False
329329
and db.session.execute(
330-
review.review_user_assoc.select().filter_by(user_id=current_user.id)
330+
review.review_user_assoc.filter_by(user_id=current_user.id)
331331
).one_or_none()
332332
is None
333333
):

0 commit comments

Comments
 (0)