Refactor user editing endpoints (only auth site) under api/user/ while leaving host-based endpoints at api root.

This commit is contained in:
Leo Vasanko
2025-10-04 08:59:51 -06:00
parent 79b6c50a9c
commit 389e05730b
4 changed files with 10 additions and 10 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
</header>
<RegistrationLinkModal
inline
:endpoint="'/auth/api/create-link'"
:endpoint="'/auth/api/user/create-link'"
:user-name="userName"
:auto-copy="false"
:prefix-copy-with-user-name="!!userName"
+2 -2
View File
@@ -15,7 +15,7 @@
:created-at="authStore.userInfo.user.created_at"
:last-seen="authStore.userInfo.user.last_seen"
:loading="authStore.isLoading"
update-endpoint="/auth/api/user-display-name"
update-endpoint="/auth/api/user/display-name"
@saved="authStore.loadUserInfo()"
@edit-name="openNameDialog"
/>
@@ -68,7 +68,7 @@
</section>
<RegistrationLinkModal
v-if="showRegLink"
:endpoint="'/auth/api/create-link'"
:endpoint="'/auth/api/user/create-link'"
:auto-copy="false"
:prefix-copy-with-user-name="false"
@close="showRegLink = false"