mirror of
https://github.com/block/buzz.git
synced 2026-11-28 04:01:45 +00:00
fix(workflow): retain deletion revocation on approval resume
Signed-off-by: Logan Johnson <loganj@squareup.com>
This commit is contained in:
@@ -143,7 +143,7 @@ impl WorkflowEngine {
|
||||
let workflow = self.db.get_workflow(community_id, run.workflow_id).await?;
|
||||
let stored = self
|
||||
.db
|
||||
.get_event_by_id_including_deleted(community_id, revision)
|
||||
.get_workflow_revision(community_id, revision)
|
||||
.await?
|
||||
.ok_or_else(|| {
|
||||
WorkflowError::InvalidDefinition(
|
||||
|
||||
Reference in New Issue
Block a user