From 150b33ea47ff2a77e508f09eab6bf9184a27b047 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Sat, 9 Apr 2022 13:54:57 +0800 Subject: [PATCH] fix(webhooks): fix auto api parameter format error --- apps/vue/src/api/webhooks/send-attempts.ts | 4 +++- apps/vue/src/api/webhooks/subscriptions.ts | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/vue/src/api/webhooks/send-attempts.ts b/apps/vue/src/api/webhooks/send-attempts.ts index a1341305b..dadfc25e9 100644 --- a/apps/vue/src/api/webhooks/send-attempts.ts +++ b/apps/vue/src/api/webhooks/send-attempts.ts @@ -32,7 +32,9 @@ export const getList = (input: WebhookSendAttemptGetListInput) => { service: remoteServiceName, controller: controllerName, action: 'GetListAsync', - params: input, + params: { + input: input, + }, }); }; diff --git a/apps/vue/src/api/webhooks/subscriptions.ts b/apps/vue/src/api/webhooks/subscriptions.ts index 4905218c2..10e7dd13b 100644 --- a/apps/vue/src/api/webhooks/subscriptions.ts +++ b/apps/vue/src/api/webhooks/subscriptions.ts @@ -59,7 +59,9 @@ export const getList = (input: WebhookSubscriptionGetListInput) => { service: remoteServiceName, controller: controllerName, action: 'GetListAsync', - params: input, + params: { + input: input, + }, }); };