Sep 4 - Add link relavant issues function

This commit is contained in:
2026-09-04 16:53:53 -04:00
parent d291dfc513
commit e9005b9b9c
20 changed files with 3208 additions and 72 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ def list_notifications():
"""
user = g.api_user
since = _parse_since(request.args.get('since'))
limit = min(int(request.args.get('limit', 50)), 50)
limit = min(request.args.get('limit', 50, type=int) or 50, 50)
def _run_orm():
q = Notification.query.filter_by(user_id=user.id, is_read=False)