fix jq editor bar help

This commit is contained in:
Ruben Fiszel
2023-08-25 13:47:47 +02:00
parent 9e5aba9342
commit 8427f80f68
+1 -1
View File
@@ -282,7 +282,7 @@
editor.insertAtCursor(`v, _ := wmill.GetVariable("${path}")`)
} else if (lang == 'bash') {
editor.insertAtCursor(`curl -s -H "Authorization: Bearer $WM_TOKEN" \\
"$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/variables/get_value/${path} | jq -r ."`)
"$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/variables/get_value/${path}" | jq -r .`)
}
sendUserToast(`${name} inserted at cursor`)
}}