mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
start InboundSmsDao
This commit is contained in:
@@ -64,7 +64,7 @@ def dao_count_inbound_sms_for_service(service_id, limit_days):
|
|||||||
InboundSms.service_id == service_id,
|
InboundSms.service_id == service_id,
|
||||||
InboundSms.created_at >= midnight_n_days_ago(limit_days),
|
InboundSms.created_at >= midnight_n_days_ago(limit_days),
|
||||||
)
|
)
|
||||||
result = db.session.execute(stmt).all()
|
result = db.session.execute(stmt).scalar()
|
||||||
return result.rowcount
|
return result.rowcount
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user