mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-20 07:13:51 +02:00
refactor store
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import { useGroupStore, useUserStore } from '../stores';
|
||||
import { useUserStore } from '../stores';
|
||||
import { applyGroup } from '../coordinators/groupCoordinator';
|
||||
import { queryClient } from '../queries';
|
||||
import { request } from '../service/request';
|
||||
|
||||
@@ -89,12 +90,11 @@ const groupReq = {
|
||||
includeRoles: params.includeRoles || false
|
||||
}
|
||||
}).then((json) => {
|
||||
const groupStore = useGroupStore();
|
||||
const args = {
|
||||
json,
|
||||
params
|
||||
};
|
||||
args.ref = groupStore.applyGroup(json);
|
||||
args.ref = applyGroup(json);
|
||||
return args;
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user