🐛 Fix file doesn’t open after deleting the library used in it

This commit is contained in:
Alejandro Alonso
2025-10-23 07:42:47 +02:00
committed by Andrey Antukh
parent 54ac64db4b
commit 36c986d8e8

View File

@@ -749,7 +749,7 @@
l.version l.version
FROM libs AS l FROM libs AS l
INNER JOIN project AS p ON (p.id = l.project_id) INNER JOIN project AS p ON (p.id = l.project_id)
WHERE l.deleted_at IS NULL OR l.deleted_at > now();") WHERE l.deleted_at IS NULL;")
(defn get-file-libraries (defn get-file-libraries
[conn file-id] [conn file-id]