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.
fix incorrect type import
Swiftyc958c95d6b9a
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..649f54a024 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 type { PostV1CreateCredentialsBody } from "@/app/api/__generated__/models/postV1CreateCredentialsBody";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 PostV1CreateCredentialsBody,});}