feat: create getAdminStore() func

This commit is contained in:
P. Reis 2024-04-30 21:20:19 -03:00
parent 1d3b06958b
commit ba6d33c115
1 changed files with 7 additions and 0 deletions

View File

@ -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);
}