summaryrefslogtreecommitdiffstats
path: root/models/wekanCreator.js
diff options
context:
space:
mode:
authorRomulus Urakagi Tsai <urakagi@gmail.com>2020-02-13 09:02:26 +0000
committerRomulus Urakagi Tsai <urakagi@gmail.com>2020-02-13 09:02:26 +0000
commit4b196d537896f39fb76090020cb5851a699546eb (patch)
tree28e2e025ce90645ed360bb8c26ab39e6f40214e4 /models/wekanCreator.js
parentb34ed58289a3dae5838d3b621260938a3ecf52d5 (diff)
parent3fcde252f705f9527f7190517082a047714a4eec (diff)
downloadwekan-4b196d537896f39fb76090020cb5851a699546eb.tar.gz
wekan-4b196d537896f39fb76090020cb5851a699546eb.tar.bz2
wekan-4b196d537896f39fb76090020cb5851a699546eb.zip
Merge branch 'master' of https://github.com/wekan/wekan into lib-change
Diffstat (limited to 'models/wekanCreator.js')
-rw-r--r--models/wekanCreator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/wekanCreator.js b/models/wekanCreator.js
index 175c156d..c5591a0b 100644
--- a/models/wekanCreator.js
+++ b/models/wekanCreator.js
@@ -443,7 +443,7 @@ export class WekanCreator {
} else if (att.file) {
// FIXME: Change to new file library
file.attachData(
- new Buffer(att.file, 'base64'),
+ Buffer.from(att.file, 'base64'),
{
type: att.type,
},