fix debug statement in scheduled tasks

This commit is contained in:
Kenneth Kehl
2026-01-27 07:33:54 -08:00
parent 6ff3205f43
commit 0c10e1cdde
63 changed files with 230 additions and 464 deletions

View File

@@ -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,
)