diff options
Diffstat (limited to 'sandstorm.js')
-rw-r--r-- | sandstorm.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sandstorm.js b/sandstorm.js index 3cd84fc3..5bf3bbe0 100644 --- a/sandstorm.js +++ b/sandstorm.js @@ -55,7 +55,7 @@ if (isSandstorm && Meteor.isServer) { const parsedDescriptor = Capnp.parse( Powerbox.PowerboxDescriptor, - new Buffer(descriptor, 'base64'), + new Buffer.alloc(descriptor, 'base64'), { packed: true }, ); |