Skip to content

Commit 338785f

Browse files
committed
Refactor NewEvoai component: replace webhookUrl and basicAuth fields with agentUrl and apiKey in evoaiData structure.
1 parent 78c3484 commit 338785f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/pages/instance/Evoai/NewEvoai.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ function NewEvoai({ resetTable }: { resetTable: () => void }) {
3939
const evoaiData: Evoai = {
4040
enabled: data.enabled,
4141
description: data.description,
42-
webhookUrl: data.webhookUrl,
43-
basicAuthUser: data.basicAuthUser,
44-
basicAuthPass: data.basicAuthPass,
42+
agentUrl: data.agentUrl,
43+
apiKey: data.apiKey,
4544
triggerType: data.triggerType,
4645
triggerOperator: data.triggerOperator || "",
4746
triggerValue: data.triggerValue || "",

0 commit comments

Comments
 (0)