mirror of
https://github.com/wekan/wekan.git
synced 2026-01-06 01:28:49 +01:00
Try to fix Node 12 Buffer() deprecation errors.
Thanks to xet7 !
This commit is contained in:
parent
7efbf30af6
commit
9b905c2833
8 changed files with 147 additions and 217 deletions
|
|
@ -441,7 +441,7 @@ export class WekanCreator {
|
|||
});
|
||||
} else if (att.file) {
|
||||
file.attachData(
|
||||
new Buffer.alloc(att.file, 'base64'),
|
||||
Buffer.from(att.file, 'base64'),
|
||||
{
|
||||
type: att.type,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue