diff --git a/ui/actions/lighthouse/lighthouse.ts b/ui/actions/lighthouse/lighthouse.ts index b4f7c05dee..5d86c5fda3 100644 --- a/ui/actions/lighthouse/lighthouse.ts +++ b/ui/actions/lighthouse/lighthouse.ts @@ -56,7 +56,7 @@ export const createLighthouseConfig = async (config: { try { const payload = { data: { - type: "lighthouse-configurations", + type: "lighthouse-configuration", attributes: { name: "OpenAI", model: config.model, @@ -121,7 +121,7 @@ export const updateLighthouseConfig = async (config: { // Prepare the request payload following the JSONAPI format const payload = { data: { - type: "lighthouse-configurations", + type: "lighthouse-configuration", id: configId, attributes: { model: config.model,