fix(attachments): accept images and return after error responses

This commit is contained in:
kk10
2026-11-02 23:28:51 +03:00
parent 759986f642
commit aaf9a1e00a
4 changed files with 9 additions and 2 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ SELECT
$7::int,
$8::text,
$9::attachment_status,
$10::text
NULLIF($10::text, '')
WHERE EXISTS (
SELECT 1 FROM chat_members
WHERE chat_id = $2