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

@@ -31,7 +31,7 @@ from app.main.utils import (
)
@main.route("/services/<int:service_id>/sms/send", methods=['GET', 'POST'])
@main.route("/services/<service_id>/sms/send", methods=['GET', 'POST'])
@login_required
def send_sms(service_id):
form = CsvUploadForm()
@@ -67,7 +67,7 @@ def send_sms(service_id):
service_id=service_id)
@main.route("/services/<int:service_id>/sms/check/<upload_id>",
@main.route("/services/<service_id>/sms/check/<upload_id>",
methods=['GET', 'POST'])
@login_required
def check_sms(service_id, upload_id):