summaryrefslogtreecommitdiffstats
path: root/sandstorm.js
diff options
context:
space:
mode:
Diffstat (limited to 'sandstorm.js')
-rw-r--r--sandstorm.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandstorm.js b/sandstorm.js
index 5bf3bbe0..590a24ec 100644
--- a/sandstorm.js
+++ b/sandstorm.js
@@ -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 },
);