Skip to content

Commit

Permalink
Merge pull request #654 from GSA/notify-admin-931
Browse files Browse the repository at this point in the history
notify-admin-931 add a preferred timezone widget
  • Loading branch information
ccostino authored Dec 5, 2023
2 parents ff80712 + 0a06830 commit 6d24e5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,7 @@ def serialize(self):
"services": [x.id for x in self.services if x.active],
"can_use_webauthn": self.can_use_webauthn,
"state": self.state,
"preferred_timezone": self.preferred_timezone,
}

def serialize_for_users_list(self):
Expand Down
1 change: 1 addition & 0 deletions app/user/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ def update_user_attribute(user_id):
)

send_notification_to_queue(saved_notification, queue=QueueNames.NOTIFY)

return jsonify(data=user_to_update.serialize()), 200


Expand Down

0 comments on commit 6d24e5c

Please sign in to comment.