Fix typos at attachments code.

pull/5478/head
Lauri Ojansivu 10 months ago
parent e09f028cd1
commit de3bc9cb4d
  1. 4
      models/trelloCreator.js
  2. 4
      models/wekanCreator.js

@ -450,9 +450,9 @@ export class TrelloCreator {
}
};
if (att.url) {
Attachment.load(att.url, opts, cb, true);
Attachments.load(att.url, opts, cb, true);
} else if (att.file) {
Attachment.write(att.file, opts, cb, true);
Attachments.insert(att.file, opts, cb, true);
}
});

@ -471,9 +471,9 @@ export class WekanCreator {
}
};
if (att.url) {
Attachment.load(att.url, opts, cb, true);
Attachments.load(att.url, opts, cb, true);
} else if (att.file) {
Attachment.write(att.file, opts, cb, true);
Attachments.insert(att.file, opts, cb, true);
}
});
}

Loading…
Cancel
Save