Almost all tests are working. Only 3 left to fix.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-26 20:07:23 -05:00
parent b5dac890a2
commit 75cec3a635
11 changed files with 30 additions and 26 deletions

View File

@@ -39,7 +39,7 @@ def create_admin_authorization_header():
def create_internal_authorization_header(client_id):
secret = current_app.config["INTERNAL_CLIENT_API_KEYS"][client_id][0]
token = create_jwt_token(secret=secret, client_id=client_id)
return "Authorization", "Bearer {}".format(token)
return "Authorization", f"Bearer {token}"
def unwrap_function(fn):