get all inbound sms should default to 7 days, not 6

to be consistent with other checks.
This commit is contained in:
Leo Hemsted
2019-02-28 15:28:13 +00:00
parent b4d1a590b7
commit 7683e340cc
2 changed files with 4 additions and 9 deletions

View File

@@ -14,7 +14,7 @@ def dao_create_inbound_sms(inbound_sms):
db.session.add(inbound_sms)
def dao_get_inbound_sms_for_service(service_id, limit=None, user_number=None, limit_days=6):
def dao_get_inbound_sms_for_service(service_id, limit=None, user_number=None, limit_days=7):
q = InboundSms.query.filter(
InboundSms.service_id == service_id
).order_by(