Refresh dependencies and fix tests.

This commit is contained in:
Jake Moshenko 2017-04-04 23:28:49 -04:00
parent 3dd6e6919d
commit a0817bfd59
7 changed files with 102 additions and 82 deletions

View file

@ -7,7 +7,7 @@ from endpoints.exception import NotFound, ApiErrorType, ERROR_DESCRIPTION
def error_view(error_type):
return {
'type': url_for('error', error_type=error_type, _external=True),
'type': url_for('api.error', error_type=error_type, _external=True),
'title': error_type,
'description': ERROR_DESCRIPTION[error_type]
}