New endpoint for delivery app to use.

Once removal of code that uses existing alpha is done, then
duplicated code from /notifications/sms and the new endpoint
can be merged.

Job id is now avaiable in notificaiton but is not used yet.
This commit is contained in:
Adam Shimali
2016-02-08 14:54:15 +00:00
parent d99776d6cc
commit 0580f5ab06
5 changed files with 131 additions and 6 deletions

View File

@@ -58,6 +58,11 @@ def fetch_client(client):
"client": client,
"secret": [current_app.config.get('ADMIN_CLIENT_SECRET')]
}
elif client == current_app.config.get('DELIVERY_CLIENT_USER_NAME'):
return {
"client": client,
"secret": [current_app.config.get('DELIVERY_CLIENT_SECRET')]
}
else:
return {
"client": client,