mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 13:38:53 -04:00
Merge branch 'master' into update-sms-rate
This commit is contained in:
@@ -36,7 +36,8 @@ def get_alternative_sms_provider(identifier):
|
||||
|
||||
def get_current_provider(notification_type):
|
||||
return ProviderDetails.query.filter_by(
|
||||
notification_type=notification_type
|
||||
notification_type=notification_type,
|
||||
active=True
|
||||
).order_by(
|
||||
asc(ProviderDetails.priority)
|
||||
).first()
|
||||
|
||||
Reference in New Issue
Block a user