mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(editor): Extract users api into rest-api-client package (no-changelog) (#18046)
This commit is contained in:
@@ -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(),
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user