This commit is contained in:
parent
6256260057
commit
bc7f51098e
@ -67,7 +67,7 @@ async def home(request: Request):
|
||||
file = payload["rel_path"]
|
||||
link = create_share(file)
|
||||
except Exception:
|
||||
request.app.state.log.info(f"Failed to share {file}"
|
||||
request.app.state.log.info(f"Failed to share {file}")
|
||||
return {"detail": "failed to create share"}
|
||||
|
||||
if link:
|
||||
|
Reference in New Issue
Block a user