mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-08 08:28:24 -04:00
fix debug statement in scheduled tasks
This commit is contained in:
@@ -20,13 +20,11 @@ def upgrade():
|
||||
conn = op.get_bind()
|
||||
input_params = {"id": current_app.config["NOTIFY_SERVICE_ID"]}
|
||||
conn.execute(
|
||||
text(
|
||||
"""
|
||||
text("""
|
||||
update services
|
||||
set prefix_sms = false
|
||||
where id = :id
|
||||
"""
|
||||
),
|
||||
"""),
|
||||
input_params,
|
||||
)
|
||||
|
||||
@@ -49,12 +47,10 @@ def downgrade():
|
||||
conn = op.get_bind()
|
||||
input_params = {"id": current_app.config["NOTIFY_SERVICE_ID"]}
|
||||
conn.execute(
|
||||
text(
|
||||
"""
|
||||
text("""
|
||||
update services
|
||||
set prefix_sms = null
|
||||
where id = :id
|
||||
"""
|
||||
),
|
||||
"""),
|
||||
input_params,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user