-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
In src/providers/wayback.ts:32, mergeOptions returns a Promise<T> but the result isn't awaited:
const options = mergeOptions(initOptions, reqOptions)Later the code does await options inline (lines 47 and 64), which works but means options is a Promise being passed around instead of the resolved value. Every other provider awaits it at the call site:
commoncrawl.ts:33—const options = await mergeOptions(...)archive-today.ts:27—const options = await mergeOptions(...)permacc.ts:28—const options = await mergeOptions(...)webcite.ts:35—const options = await mergeOptions(...)
The fix is just adding await on line 32 and removing the await wrappers on lines 47/64.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working