Compare commits
5 Commits
dev
..
96b3a4407d
| Author | SHA1 | Date | |
|---|---|---|---|
| 96b3a4407d | |||
| 86ba5416c2 | |||
| 14821cb487 | |||
| 34ddbd50dd | |||
| bf2379e39d |
@@ -116,7 +116,6 @@ 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,
|
||||
|
||||
@@ -1,7 +1,4 @@
|
||||
import os
|
||||
from dotenv import load_dotenv
|
||||
|
||||
load_dotenv()
|
||||
QUIZ_TYPES = {
|
||||
1: {
|
||||
"name": "Single Line Text Inputs",
|
||||
|
||||
@@ -26,6 +26,5 @@ python-docx==1.1.2
|
||||
unstructured==0.17.2
|
||||
pypdf==5.4.0
|
||||
gunicorn==23.0.0
|
||||
python-dotenv
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user