mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Add initial steps to call api for count
This commit is contained in:
committed by
Carlo Costino
parent
0dd862f936
commit
c247891c97
@@ -191,7 +191,9 @@ def dao_get_notification_count_for_job_id(*, job_id):
|
||||
|
||||
|
||||
def dao_get_notification_count_for_service(*, service):
|
||||
return Notification.query.filter_by(service_id=service.id).count()
|
||||
count = Notification.query.filter_by(service_id=service.id).count()
|
||||
print(count)
|
||||
return count
|
||||
|
||||
|
||||
def get_notification_with_personalisation(service_id, notification_id, key_type):
|
||||
|
||||
Reference in New Issue
Block a user