refactor(editor): Extract users api into rest-api-client package (no-changelog) (#18046)

This commit is contained in:
Alex Grozav
2025-08-07 12:01:10 +03:00
committed by GitHub
parent 743c120880
commit 500d07d813
38 changed files with 134 additions and 123 deletions

View File

@@ -1,5 +1,5 @@
import { useCalloutHelpers } from '@/composables/useCalloutHelpers';
import { updateCurrentUserSettings } from '@/api/users';
import { updateCurrentUserSettings } from '@n8n/rest-api-client/api/users';
const mocks = vi.hoisted(() => ({
resolve: vi.fn(),
@@ -53,7 +53,7 @@ vi.mock('@n8n/stores/useRootStore', () => ({
}),
}));
vi.mock('@/api/users', () => ({
vi.mock('@n8n/rest-api-client/api/users', () => ({
updateCurrentUserSettings: vi.fn(),
}));