fix: #6263 remove reserved prefix (#7033)

This commit is contained in:
Zachary Schaffter
2026-02-14 13:05:42 -08:00
committed by GitHub
parent 5aafb56c4f
commit 904e6b7d82
55 changed files with 158 additions and 158 deletions

View File

@@ -114,14 +114,14 @@ export default defineNuxtComponent({
middleware: ["advanced-only"],
setup() {
const i18n = useI18n();
const $auth = useMealieAuth();
const auth = useMealieAuth();
useSeoMeta({
title: i18n.t("settings.token.api-tokens"),
});
const user = computed(() => {
return $auth.user.value;
return auth.user.value;
});
const api = useUserApi();
@@ -136,7 +136,7 @@ export default defineNuxtComponent({
createdToken.value = "";
loading.value = false;
name.value = "";
$auth.refresh();
auth.refresh();
}
async function createToken(name: string) {
@@ -161,7 +161,7 @@ export default defineNuxtComponent({
async function deleteToken(id: number) {
const { data } = await api.users.deleteAPIToken(id);
$auth.refresh();
auth.refresh();
return data;
}