Update service_id to a UUID from an integer.

This commit must go along side a commit on the notifications-api app.
There will be a breif outage until both app are deployed.
This commit is contained in:
Rebecca Law
2016-02-02 14:24:08 +00:00
parent e1a0460624
commit a4cb35ad3b
10 changed files with 59 additions and 48 deletions

View File

@@ -7,7 +7,7 @@ from client.errors import HTTPError
from ._jobs import jobs
@main.route("/services/<int:service_id>/dashboard")
@main.route("/services/<service_id>/dashboard")
@login_required
def service_dashboard(service_id):
try:
@@ -31,4 +31,4 @@ def service_dashboard(service_id):
free_text_messages_remaining='25,000',
spent_this_month='0.00',
has_templates=bool(len(templates)),
service_id=service_id)
service_id=str(service_id))