chore: Fix typo in _base64_decode.

This commit is contained in:
Gervwyk 2021-01-06 19:12:48 +02:00
parent fc860ad709
commit d64c17fa04

View File

@ -24,8 +24,7 @@ function _base64_decode({ params, location }) {
)} at ${location}.`
);
}
const buff = Buffer.from(params, 'base64');
return buff.toString('utf8');
return atob(params);
}
export default _base64_decode;