2
0
mirror of https://github.com/inventree/InvenTree.git synced 2026-07-10 00:50:57 +00:00

realign user API endpoints (#11963)

* realign user API endpoints to make it clearer which one are only applicable to the current user

* fix name

* bump api

* fix test

* fix reference

* fix test exception

* update ref

* reduce breakage

* re-add legacy urls till next `breaking`
This commit is contained in:
Matthias Mair
2026-05-22 01:44:24 +02:00
committed by GitHub
parent f27b9b5443
commit 9908870a81
12 changed files with 72 additions and 17 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export const test = baseTest.extend({
!msg.text().includes('/this/does/not/exist.js') &&
!url.includes('/this/does/not/exist.js') &&
!url.includes('/api/user/me/') &&
!url.includes('/api/user/token/') &&
!url.includes('/api/user/me/token/') &&
!url.includes('/api/auth/v1/auth/login') &&
!url.includes('/api/auth/v1/auth/session') &&
!url.includes('/api/auth/v1/account/authenticators/totp') &&
@@ -142,7 +142,7 @@ test('Dashboard - Preserve widget sizes', async ({ browser }) => {
password: user.testcred
});
(await api).patch('user/profile/', {
(await api).patch('user/me/profile/', {
data: {
widgets: {
widgets: ['ovr-so'],