This commit is contained in:
James Moffet
2022-07-19 18:59:48 -07:00
parent e9302552ee
commit ec86fe8d23

View File

@@ -1,4 +1,4 @@
from flask import abort, has_request_context, request, current_app
from flask import abort, has_request_context, request
from flask_login import current_user
from notifications_python_client import __version__
from notifications_python_client.base import BaseAPIClient
@@ -28,7 +28,6 @@ class NotifyAdminAPIClient(BaseAPIClient):
self.route_secret = app.config['ROUTE_SECRET_KEY_1']
def generate_headers(self, api_token):
# current_app.logger.info("Attempting to generate headers")
headers = {
"Content-type": "application/json",
"Authorization": "Bearer {}".format(api_token),