diff --git a/scripts/db-import.ts b/scripts/db-import.ts index 954d83df..806ce326 100644 --- a/scripts/db-import.ts +++ b/scripts/db-import.ts @@ -14,12 +14,12 @@ interface ImportEventsOpts { profilesOnly: boolean; } -type DoEvent = (evt: NostrEvent) => void | Promise; +type DoEvent = (event: NostrEvent) => void | Promise; const importUsers = async ( authors: string[], relays: string[], opts?: Partial, - doEvent: DoEvent = async (evt: NostrEvent) => await eventsDB.event(evt), + doEvent: DoEvent = async (event: NostrEvent) => await eventsDB.event(event), ) => { // Kind 0s + follow lists. const profiles: Record> = {};