diff --git a/src/secrets.js b/src/secrets.js index 669bde5e..91cbd40a 100644 --- a/src/secrets.js +++ b/src/secrets.js @@ -73,7 +73,7 @@ function selectData(data, selector) { } if (result.startsWith(`"`)) { - result = result.substring(1, result.length - 1); + result = JSON.parse(result); } return result; }