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