mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 14:08:47 -04:00
Fixing pull requests comments
- full path to imports - renamed client lib from jwt->authentication
This commit is contained in:
@@ -11,5 +11,5 @@ main = Blueprint('main', __name__)
|
||||
main.before_request(requires_auth)
|
||||
|
||||
|
||||
from .views import notifications, index
|
||||
from . import errors
|
||||
from app.main.views import notifications, index
|
||||
from app.main import errors
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
from flask import request, jsonify, _request_ctx_stack
|
||||
from client.jwt import decode_jwt_token, get_token_issuer
|
||||
from client.authentication import decode_jwt_token, get_token_issuer
|
||||
from client.errors import TokenDecodeError, TokenRequestError, TokenExpiredError, TokenPayloadError
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
from flask import jsonify
|
||||
|
||||
from . import main
|
||||
from app.main import main
|
||||
|
||||
|
||||
@main.app_errorhandler(400)
|
||||
|
||||
Reference in New Issue
Block a user