mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -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.created_at >= midnight_n_days_ago(limit_days),
|
||||
)
|
||||
result = db.session.execute(stmt).all()
|
||||
result = db.session.execute(stmt).scalar()
|
||||
return result.rowcount
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user