Skip to content

Commit

Permalink
fix: career site settings endpoint update
Browse files Browse the repository at this point in the history
  • Loading branch information
amandesai01 committed Sep 10, 2024
1 parent cb7ac70 commit 2e9c195
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions app/components/Onboarding/CareerSiteConfig.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 2e9c195

Please sign in to comment.