mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
fix incorrect type 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 { 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,
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user