mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-20 21:18:18 +00:00
feat: updated folder, import, approvals and some more to projectid
This commit is contained in:
+4
-4
@@ -62,7 +62,7 @@ export const WebhooksTab = withProjectPermission(
|
||||
try {
|
||||
await createWebhook({
|
||||
...data,
|
||||
workspaceId
|
||||
projectId: workspaceId
|
||||
});
|
||||
handlePopUpClose("addWebhook");
|
||||
createNotification({
|
||||
@@ -82,7 +82,7 @@ export const WebhooksTab = withProjectPermission(
|
||||
try {
|
||||
await updateWebhook({
|
||||
webhookId,
|
||||
workspaceId,
|
||||
projectId: workspaceId,
|
||||
isDisabled
|
||||
});
|
||||
createNotification({
|
||||
@@ -103,7 +103,7 @@ export const WebhooksTab = withProjectPermission(
|
||||
const webhookId = popUp?.deleteWebhook?.data as string;
|
||||
await deleteWebhook({
|
||||
webhookId,
|
||||
workspaceId
|
||||
projectId: workspaceId
|
||||
});
|
||||
handlePopUpClose("deleteWebhook");
|
||||
createNotification({
|
||||
@@ -123,7 +123,7 @@ export const WebhooksTab = withProjectPermission(
|
||||
try {
|
||||
await testWebhook({
|
||||
webhookId,
|
||||
workspaceId
|
||||
projectId: workspaceId
|
||||
});
|
||||
createNotification({
|
||||
type: "success",
|
||||
|
||||
Reference in New Issue
Block a user