Update script.js

Fixed Base64 Encoder
This commit is contained in:
Ryan Montgomery 2021-04-05 19:58:45 -04:00 committed by GitHub
parent 438a97b4f8
commit 62bc0dfbd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,6 +166,7 @@
const encoding = rsg.getEncoding(); const encoding = rsg.getEncoding();
if (encoding === 'Base64') { if (encoding === 'Base64') {
command = rsg.insertParameters(command, (text) => text)
command = btoa(command) command = btoa(command)
} else { } else {
function encoder(string) { function encoder(string) {