mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 07:52:24 +00:00
fix(nostr): remove duplicate imports in reactionEvents.js
- Removes redundant imports of `pMap` and `RELAY_BACKGROUND_CONCURRENCY` which were causing SyntaxErrors in CI and runtime. - Fixes `test:unit`, `test:dm`, and E2E failures caused by this module-level syntax error. Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
1 parent
62b8424dd0
commit
81cafed638
1 file changed
-2
@@ -10,8 +10,6 @@ import { CACHE_POLICIES } from "./cachePolicies.js";
|
||||
import { NOTE_TYPES } from "../nostrEventSchemas.js";
|
||||
import { queueSignEvent } from "./signRequestQueue.js";
|
||||
import { sanitizeRelayList as sanitizeRelayUrls } from "./nip46Client.js";
|
||||
import { pMap } from "../utils/asyncUtils.js";
|
||||
import { RELAY_BACKGROUND_CONCURRENCY } from "./relayConstants.js";
|
||||
|
||||
const CACHE_POLICY = CACHE_POLICIES[NOTE_TYPES.VIDEO_REACTION];
|
||||
const reactionCache = new LRUCache({ maxSize: 100 });
|
||||
|
||||
Reference in new issue
Block a user