Fix some tests

This commit is contained in:
Jon Staab
2025-03-31 14:06:52 -07:00
parent 1524d128e3
commit 8bc336ae5d
8 changed files with 69 additions and 251 deletions
+6 -1
View File
@@ -26,6 +26,7 @@ export type ThunkRequest = {
event: ThunkEvent
relays: string[]
delay?: number
context?: AdapterContext,
}
export type ThunkStatus = {
@@ -221,7 +222,11 @@ thunkWorker.addGlobalHandler((thunk: Thunk) => {
}
// Send it off
const pub = new MultiPublish({event: signedEvent, relays: thunk.request.relays})
const pub = new MultiPublish({
event: signedEvent,
relays: thunk.request.relays,
context: thunk.request.context,
})
// Copy the signature over since we had deferred it
const savedEvent = repository.getEvent(signedEvent.id) as SignedEvent