feat: create getAdminStore() func
This commit is contained in:
parent
1d3b06958b
commit
ba6d33c115
|
@ -0,0 +1,7 @@
|
|||
import { UserStore } from '@/storages/UserStore.ts';
|
||||
import { Conf } from '@/config.ts';
|
||||
import { eventsDB } from '@/storages.ts';
|
||||
|
||||
export function getAdminStore() {
|
||||
return new UserStore(Conf.pubkey, eventsDB);
|
||||
}
|
Loading…
Reference in New Issue