Skip to content

Commit 2e9c195

Browse files
committed
fix: career site settings endpoint update
1 parent cb7ac70 commit 2e9c195

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/components/Onboarding/CareerSiteConfig.vue

+2-3
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,9 @@ const isSubmitting = ref(false);
3131
const onSubmit = handleSubmit(async (values) => {
3232
try {
3333
isSubmitting.value = true;
34-
const updatedSettings = { careerSite: values, seo: {} };
35-
await $fetch('/api/settings/general', {
34+
await $fetch('/api/settings/career-site', {
3635
method: 'PUT',
37-
body: updatedSettings,
36+
body: values,
3837
});
3938
emits('done', values.name);
4039
} catch (error) {

0 commit comments

Comments
 (0)