Spaces:
Build error
Build error
Commit
·
2c74019
1
Parent(s):
933d5a4
chore: add request user to log
Browse files
app.py
CHANGED
|
@@ -72,7 +72,7 @@ async def upload(
|
|
| 72 |
):
|
| 73 |
res = Response()
|
| 74 |
logging.info("--------------------------------")
|
| 75 |
-
logging.info("Received request to upload image")
|
| 76 |
|
| 77 |
if is_valid(x_api_key):
|
| 78 |
key = f'{o.key}/{o.job_no}/{o.name}'
|
|
|
|
| 72 |
):
|
| 73 |
res = Response()
|
| 74 |
logging.info("--------------------------------")
|
| 75 |
+
logging.info(f"Received request to upload image by {x_request_user}")
|
| 76 |
|
| 77 |
if is_valid(x_api_key):
|
| 78 |
key = f'{o.key}/{o.job_no}/{o.name}'
|