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

@@ -13,7 +13,7 @@
file-name="profile"
accept="image/*"
:url="`/api/users/${userCopy.id}/image`"
@uploaded="$auth.refresh()"
@uploaded="auth.refresh()"
/>
</div>
</template>
@@ -231,9 +231,9 @@ export default defineNuxtComponent({
},
setup() {
const i18n = useI18n();
const $auth = useMealieAuth();
const auth = useMealieAuth();
const { getDefaultActivityLabels, getActivityLabel, getActivityKey } = useDefaultActivity();
const user = computed(() => $auth.user.value);
const user = computed(() => auth.user.value);
useSeoMeta({
title: i18n.t("settings.profile"),
@@ -267,7 +267,7 @@ export default defineNuxtComponent({
if (!userCopy.value?.id) return;
const { response } = await api.users.updateOne(userCopy.value.id, userCopy.value);
if (response?.status === 200) {
$auth.refresh();
auth.refresh();
}
}
@@ -303,7 +303,7 @@ export default defineNuxtComponent({
domUpdatePassword,
passwordsMatch,
validators,
$auth,
auth,
};
},
});