This commit is contained in:
Ruben Fiszel
2023-08-24 01:50:33 +02:00
parent 13d870f163
commit aa490a43cf
+1 -2
View File
@@ -339,8 +339,7 @@
editor.insertAtCursor(`r, _ := wmill.GetResource("${path}")`)
} else if (lang == 'bash') {
editor.insertAtCursor(`curl -s -H "Authorization: Bearer $WM_TOKEN" \\
"$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/resources/get_value_interpolated/${path}" \\
| jq`)
"$BASE_INTERNAL_URL/api/w/$WM_WORKSPACE/resources/get_value_interpolated/${path}" | jq`)
}
sendUserToast(`${path} inserted at cursor`)
}}