AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
revert frontend type change
Swifty1b69f1644d88
diff --git a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/fields/CredentialField/models/APIKeyCredentialModal/useAPIKeyCredentialsModal.ts b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/fields/CredentialField/models/APIKeyCredentialModal/useAPIKeyCredentialsModal.tsindex e2a176f684..53e245f92b 100644--- a/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/fields/CredentialField/models/APIKeyCredentialModal/useAPIKeyCredentialsModal.ts+++ b/autogpt_platform/frontend/src/app/(platform)/build/components/FlowEditor/nodes/fields/CredentialField/models/APIKeyCredentialModal/useAPIKeyCredentialsModal.ts@@ -7,7 +7,7 @@ import {usePostV1CreateCredentials,} from "@/app/api/__generated__/endpoints/integrations/integrations";import { useToast } from "@/components/molecules/Toast/use-toast";-import { APIKeyCredentialsInput } from "@/app/api/__generated__/models/aPIKeyCredentialsInput";+import { APIKeyCredentials} from "@/app/api/__generated__/models/aPIKeyCredentials";import { useQueryClient } from "@tanstack/react-query";import { useState } from "react";@@ -89,7 +89,7 @@ export function useAPIKeyCredentialsModal({api_key: values.apiKey,title: values.title,expires_at: expiresAt,- } as APIKeyCredentialsInput,+ } as APIKeyCredentials,});}