Refresh dependencies and fix tests.
This commit is contained in:
parent
3dd6e6919d
commit
a0817bfd59
7 changed files with 102 additions and 82 deletions
|
@ -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]
|
||||
}
|
||||
|
|
Reference in a new issue