mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-22 12:19:09 +00:00
refactor(editor): Extract users api into rest-api-client package (no-changelog) (#18046)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { CurrentUserResponse } from '@/Interface';
|
||||
import type { CurrentUserResponse } from '@n8n/rest-api-client/api/users';
|
||||
import { useUsersStore } from './users.store';
|
||||
import { createPinia, setActivePinia } from 'pinia';
|
||||
|
||||
@@ -10,7 +10,7 @@ const { loginCurrentUser, inviteUsers } = vi.hoisted(() => {
|
||||
};
|
||||
});
|
||||
|
||||
vi.mock('@/api/users', () => ({
|
||||
vi.mock('@n8n/rest-api-client/api/users', () => ({
|
||||
loginCurrentUser,
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user