mirror of
https://github.com/wekan/wekan.git
synced 2025-06-27 17:00:47 -04:00
Fix typos at attachments code.
This commit is contained in:
parent
e09f028cd1
commit
de3bc9cb4d
2 changed files with 4 additions and 4 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue