Added import statement to fix typescript error (#2138)

This commit is contained in:
hagen-danswer 2024-08-14 13:10:08 -07:00 committed by GitHub
parent 1c10f54294
commit 2ab192933b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,3 +1,5 @@
import { APIKeyArgs, APIKey } from "./types";
export const createApiKey = async (apiKeyArgs: APIKeyArgs) => {
return fetch("/api/admin/api-key", {
method: "POST",