From 2e9c19565e0a711e335482d26962b3d6c5287f62 Mon Sep 17 00:00:00 2001 From: amandesai01 Date: Tue, 10 Sep 2024 21:42:47 +0530 Subject: [PATCH] fix: career site settings endpoint update --- app/components/Onboarding/CareerSiteConfig.vue | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/app/components/Onboarding/CareerSiteConfig.vue b/app/components/Onboarding/CareerSiteConfig.vue index b0930d3..7b86bc2 100644 --- a/app/components/Onboarding/CareerSiteConfig.vue +++ b/app/components/Onboarding/CareerSiteConfig.vue @@ -31,10 +31,9 @@ const isSubmitting = ref(false); const onSubmit = handleSubmit(async (values) => { try { isSubmitting.value = true; - const updatedSettings = { careerSite: values, seo: {} }; - await $fetch('/api/settings/general', { + await $fetch('/api/settings/career-site', { method: 'PUT', - body: updatedSettings, + body: values, }); emits('done', values.name); } catch (error) {