mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
feat: create getAdminStore() func
This commit is contained in:
parent
1d3b06958b
commit
ba6d33c115
1 changed files with 7 additions and 0 deletions
7
src/storages/adminStore.ts
Normal file
7
src/storages/adminStore.ts
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue