small correction :/

This commit is contained in:
2026-01-22 00:03:31 +00:00
parent e66c7dfb89
commit 50ba23fdb4

View File

@@ -1,7 +1,6 @@
<script setup lang="ts"> <script setup lang="ts">
import * as z from 'zod' import * as z from 'zod'
import type { FormSubmitEvent } from '@nuxt/ui' import type { FormSubmitEvent } from '@nuxt/ui'
import urlJoin from "url-join"
useHead({ useHead({
title: "Settings" title: "Settings"
@@ -32,7 +31,7 @@
async function submitChanges(event: FormSubmitEvent<Schema>) { async function submitChanges(event: FormSubmitEvent<Schema>) {
loading_btn.value = true loading_btn.value = true
await fetch(use_based_path("/settings/edit_user"), { await fetch(useBasedPath("/settings/edit_user"), {
method: "POST", method: "POST",
headers: { headers: {
"Content-Type": "application/json" "Content-Type": "application/json"