From a6b881a1967642b2be9a4e97a6b900fea3253262 Mon Sep 17 00:00:00 2001 From: Flummi Date: Sat, 7 May 2022 10:45:32 +0200 Subject: [PATCH] fuuuuuuuuuck --- src/inc/trigger/parser.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inc/trigger/parser.mjs b/src/inc/trigger/parser.mjs index 8e6df6c..0e49957 100644 --- a/src/inc/trigger/parser.mjs +++ b/src/inc/trigger/parser.mjs @@ -128,7 +128,7 @@ export default async bot => { await db` insert into items ${ db({ - src: e.photo ? "" : link, + src: e.media ? "" : link, dest: filename, mime: mime, size: size,