mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-23 14:39:32 +08:00
chore: Fix typo in _base64_decode.
This commit is contained in:
parent
fc860ad709
commit
d64c17fa04
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user