mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix import
This commit is contained in:
@@ -7,7 +7,7 @@ import {
|
||||
usePostV1CreateCredentials,
|
||||
} from "@/app/api/__generated__/endpoints/integrations/integrations";
|
||||
import { useToast } from "@/components/molecules/Toast/use-toast";
|
||||
import { APIKeyCredentials} from "@/app/api/__generated__/models/aPIKeyCredentials";
|
||||
import { APIKeyCredentialsInput } from "@/app/api/__generated__/models/aPIKeyCredentialsInput";
|
||||
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 APIKeyCredentials,
|
||||
} as APIKeyCredentialsInput,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user