From 23389d011a5eb9e1d8377e2802b2b96250b02bf0 Mon Sep 17 00:00:00 2001 From: Pepe Fagoaga Date: Thu, 5 Jun 2025 10:03:39 +0200 Subject: [PATCH] fix(ui): call API with lighthouse-configuration --- ui/actions/lighthouse/lighthouse.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,