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