don't log if the same user access they shared files
Build and Push Docker Container / build-and-push (push) Successful in 1m30s
Build and Push Docker Container / build-and-push (push) Successful in 1m30s
This commit is contained in:
@@ -59,7 +59,8 @@ class EdgeDB:
|
||||
select files {
|
||||
file_name,
|
||||
content_type,
|
||||
expires_at
|
||||
expires_at,
|
||||
user_id
|
||||
}
|
||||
filter .file_id = <str>$file_id
|
||||
limit 1
|
||||
@@ -71,7 +72,8 @@ class EdgeDB:
|
||||
return {
|
||||
"file_name": data.file_name,
|
||||
"content_type": data.content_type,
|
||||
"expires_at": data.expires_at
|
||||
"expires_at": data.expires_at,
|
||||
"user_id": data.user_id
|
||||
}
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user