Rename NOTIFY_API_URL to API_HOST_NAME.

The NOTIFY_API_URL will point to the alpha api.
This commit is contained in:
Rebecca Law
2016-01-19 16:39:04 +00:00
parent 4a7f8213bd
commit 28658c6cc4
3 changed files with 4 additions and 4 deletions

View File

@@ -37,7 +37,7 @@ def register():
role_id=1)
users_dao.insert_user(user)
user_api_client = UserApiClient(current_app.config['NOTIFY_API_URL'],
user_api_client = UserApiClient(current_app.config['API_HOST_NAME'],
current_app.config['ADMIN_CLIENT_USER_NAME'],
current_app.config['ADMIN_CLIENT_SECRET'])
try: