Not using the deprecated / broken api (assuming that it was working before)
This commit is contained in:
parent
0eb1226e1d
commit
13ac655b1c
|
@ -2,7 +2,7 @@
|
|||
"use strict";
|
||||
|
||||
function atob(str) {
|
||||
return new Buffer(str, 'base64').toString('utf8');
|
||||
return new Buffer(str).toString('base64');
|
||||
}
|
||||
|
||||
module.exports = atob;
|
||||
|
|
Loading…
Reference in New Issue