Spaces:
Paused
Paused
Commit
•
a296dd1
1
Parent(s):
75141de
Remove unnecessary print statements in receive_vote function
Browse files
main.py
CHANGED
@@ -88,8 +88,6 @@ async def receive_vote(
|
|
88 |
Authorization: Annotated[str, Header()],
|
89 |
background_tasks: BackgroundTasks,
|
90 |
):
|
91 |
-
print(f"Received vote: {vote}")
|
92 |
-
print(Authorization)
|
93 |
if not validate_token(Authorization):
|
94 |
return JSONResponse(status_code=401, content={"message": "Invalid token"})
|
95 |
vote_entry = {
|
|
|
88 |
Authorization: Annotated[str, Header()],
|
89 |
background_tasks: BackgroundTasks,
|
90 |
):
|
|
|
|
|
91 |
if not validate_token(Authorization):
|
92 |
return JSONResponse(status_code=401, content={"message": "Invalid token"})
|
93 |
vote_entry = {
|