mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-07-28 13:53:28 +02:00
fixed
This commit is contained in:
@@ -22,7 +22,7 @@ export const ApiKeyForm = ({ handleResponse }: Props) => {
|
||||
initialValues={{ apiKey: "" }}
|
||||
onSubmit={async ({ apiKey }, formikHelpers) => {
|
||||
const response = await fetch(OPENAI_API_KEY_URL, {
|
||||
method: "POST",
|
||||
method: "PUT",
|
||||
headers: {
|
||||
"Content-Type": "application/json",
|
||||
},
|
||||
|
Reference in New Issue
Block a user