diff --git a/src/storages/adminStore.ts b/src/storages/adminStore.ts new file mode 100644 index 0000000..0b5bb38 --- /dev/null +++ b/src/storages/adminStore.ts @@ -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); +}