mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
chore: lint
This commit is contained in:
@@ -27,7 +27,7 @@ Attachments.update = async (pid, attachments) => {
|
||||
hash: [],
|
||||
};
|
||||
const hashes = [];
|
||||
attachments.filter(Boolean).forEach(({ _type, mediaType, url, name, width, height }, idx) => {
|
||||
attachments.filter(Boolean).forEach(({ _type, mediaType, url, name, width, height }) => {
|
||||
if (!url) { // only required property
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user