ref: Collapse image data into one column

This commit is contained in:
Maksim Eltyshev
2022-06-21 12:01:41 +02:00
parent fe9fdc0191
commit 39fec45a7f
10 changed files with 102 additions and 86 deletions

View File

@@ -46,7 +46,7 @@ module.exports = {
}
}
if (!attachment.isImage) {
if (!attachment.image) {
throw Errors.ATTACHMENT_NOT_FOUND;
}