added please

This commit is contained in:
OwusuBlessing
2025-06-18 17:09:36 +01:00
parent cbfdd96412
commit 5b055f2870
3 changed files with 5 additions and 0 deletions
+1
View File
@@ -116,6 +116,7 @@ async def get_api_key(api_key_header: str = Security(api_key_header)) -> str:
)
token = api_key_header.split(' ')[1]
print(f"Token : {token}")
if token != API_KEY:
raise HTTPException(
status_code=401,
+3
View File
@@ -1,4 +1,7 @@
import os
from dotenv import load_dotenv
load_dotenv()
QUIZ_TYPES = {
1: {
"name": "Single Line Text Inputs",
+1
View File
@@ -26,5 +26,6 @@ python-docx==1.1.2
unstructured==0.17.2
pypdf==5.4.0
gunicorn==23.0.0
python-dotenv