Fix DittoDB+EventsDB relationship

This commit is contained in:
Alex Gleason
2024-08-12 15:13:49 -05:00
parent 5e4a94457f
commit 617659c7fd
7 changed files with 35 additions and 30 deletions

View File

@@ -9,8 +9,8 @@ import { nostrNow } from '@/utils.ts';
const signer = new AdminSigner();
const kysely = await DittoDB.getInstance();
const eventsDB = new EventsDB(kysely);
const db = await DittoDB.getInstance();
const eventsDB = new EventsDB(db);
const readable = Deno.stdin.readable
.pipeThrough(new TextDecoderStream())