Fix error with new in btoa

This commit is contained in:
Luke
2018-10-04 12:58:44 +02:00
parent 3bcf815565
commit 645cda1b9d
2 changed files with 2 additions and 2 deletions

View File

@ -1,2 +1,2 @@
const btoa = str => new Buffer.from(str, 'binary').toString('base64');
const btoa = str => Buffer.from(str, 'binary').toString('base64');
module.exports = btoa;