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