Skip to content

Commit

Permalink
Merge pull request #698 from GSA/API-683_Make_UI_and_Reports_Reflect_…
Browse files Browse the repository at this point in the history
…Opt_Out_Numbers

Api 683 make UI and reports reflect opt out numbers
  • Loading branch information
stvnrlly authored Jan 2, 2024
2 parents e01bcaa + 976d57b commit d14120a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/clients/cloudwatch/aws_cloudwatch.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def check_sms(self, message_id, notification_id, created_at):
return (
"failure",
message["delivery"]["providerResponse"],
message["delivery"]["phoneCarrier"],
message["delivery"].get("phoneCarrier", "Unknown Carrier"),
)

if time_now > (created_at + timedelta(hours=3)):
Expand Down
3 changes: 2 additions & 1 deletion migrations/versions/0409_fix_service_name.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def upgrade():
# select_by_val = service_id
input_params = {"service_id": service_id}
conn.execute(
text("update services set name='Notify.gov' where id =:service_id"), input_params
text("update services set name='Notify.gov' where id =:service_id"),
input_params,
)

# table_name = 'services_history'
Expand Down

0 comments on commit d14120a

Please sign in to comment.