Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| d9d6871f09 | |||
| 121b0429f6 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "shsf-cli",
|
||||
"version": "2.2.9",
|
||||
"version": "2.2.10",
|
||||
"description": "",
|
||||
"type": "module",
|
||||
"files": [
|
||||
|
||||
@@ -38,7 +38,7 @@ export const updateTriggerDefinition = {
|
||||
const client = await getApiClient();
|
||||
|
||||
try {
|
||||
const response = await client.patch(`/api/functions/${functionId}/triggers/${triggerId}`, data);
|
||||
const response = await client.put(`/api/functions/${functionId}/triggers/${triggerId}`, data);
|
||||
|
||||
if (response.status === 200) {
|
||||
console.log(
|
||||
|
||||
Reference in New Issue
Block a user