bug fix #4

Open
Ghost wants to merge 1 commits from (deleted):master into master
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 32bc87be71 - Show all commits

View File

@ -7,7 +7,7 @@
if (str instanceof Buffer) {
buffer = str;
} else {
buffer = Buffer.from(str.toString(), 'binary');
buffer = Buffer.from(String(str), 'binary');
}
return buffer.toString('base64');