mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-21 07:51:13 -05:00
Update app/service/rest.py
Co-authored-by: Carlo Costino <ccostino@users.noreply.github.com>
This commit is contained in:
@@ -226,7 +226,8 @@ def create_service():
|
||||
# unpack valid json into service object
|
||||
valid_service = Service.from_json(data)
|
||||
|
||||
# Grabbing flag from request object for default sms sender
|
||||
# Grabbing flag from request object for default SMS sender.
|
||||
# This will only be true in our tests now; the value will default to false in normal app usage.
|
||||
create_default_sms_sender = bool(
|
||||
request.args.get("create_default_sms_sender", False)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user