mirror of
https://github.com/pockethost/pockethost.git
synced 2026-03-21 15:49:05 +00:00
fix: createInvocation autocancel key
This commit is contained in:
@@ -28,7 +28,9 @@ export const createInvocationMixin = (
|
||||
}
|
||||
const _inv = await client
|
||||
.collection('invocations')
|
||||
.create<InvocationFields>(init)
|
||||
.create<InvocationFields>(init, {
|
||||
$cancelKey: `createInvocation:${instance.id}:${pid}`,
|
||||
})
|
||||
return _inv
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user