Fix bad typo
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
decentral1se 2021-06-16 17:04:41 +02:00
parent 6256260057
commit bc7f51098e
Signed by: decentral1se
GPG Key ID: 92DAD76BD9567B8A

View File

@ -67,7 +67,7 @@ async def home(request: Request):
file = payload["rel_path"] file = payload["rel_path"]
link = create_share(file) link = create_share(file)
except Exception: 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"} return {"detail": "failed to create share"}
if link: if link: