mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +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
|
|
@ -55,7 +55,7 @@ if (isSandstorm && Meteor.isServer) {
|
|||
|
||||
const parsedDescriptor = Capnp.parse(
|
||||
Powerbox.PowerboxDescriptor,
|
||||
new Buffer.alloc(descriptor, 'base64'),
|
||||
Buffer.from(descriptor, 'base64'),
|
||||
{ packed: true },
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue