From e07be77de75f31387aa82b8f3f189e58ba8f166b Mon Sep 17 00:00:00 2001 From: Siddharth Singh Date: Mon, 1 Jul 2024 23:13:20 +0530 Subject: [PATCH] fix import order --- scripts/db-import.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/db-import.ts b/scripts/db-import.ts index 2c8a60f4..03e389cb 100644 --- a/scripts/db-import.ts +++ b/scripts/db-import.ts @@ -2,10 +2,11 @@ * Script to import a user/list of users into Ditto given their npub/pubkey by looking them up on a list of relays. */ +import { NostrEvent, NRelay1, NSchema } from '@nostrify/nostrify'; import { nip19 } from 'nostr-tools'; + import { DittoDB } from '@/db/DittoDB.ts'; import { EventsDB } from '@/storages/EventsDB.ts'; -import { NostrEvent, NRelay1, NSchema } from '@nostrify/nostrify'; const kysely = await DittoDB.getInstance(); const eventsDB = new EventsDB(kysely);