add info page for files
This commit is contained in:
+1
-1
@@ -58,7 +58,7 @@ async def file_info(file_id, user):
|
||||
if not file_data:
|
||||
abort(404)
|
||||
|
||||
access_data = await current_app.convex.get_file_access(file_id=file_id) or []
|
||||
access_data = await current_app.convex.get_file_access(file_id=file_id, user_id=user["sub"]) or []
|
||||
share_url = request.url_root.rstrip("/") + f"/-{file_id}"
|
||||
return await render_template(
|
||||
"views/webpage/files/info.htm",
|
||||
|
||||
Reference in New Issue
Block a user