mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
Update code as per review comment.
This commit is contained in:
@@ -36,10 +36,7 @@ def all_notifications_are_created_for_job(job_id):
|
||||
.group_by(Job.id)\
|
||||
.having(func.count(Notification.id) == Job.notification_count).all()
|
||||
|
||||
if query:
|
||||
return True
|
||||
else:
|
||||
return False
|
||||
return query
|
||||
|
||||
|
||||
@statsd(namespace="dao")
|
||||
|
||||
Reference in New Issue
Block a user