mirror of
https://github.com/block/buzz.git
synced 2026-10-31 06:21:34 +00:00
fix(workflows): retain executable revision history
Co-authored-by: Larry <8cf5a83f590ec0955b11647d1c88f796a98e088c30a492c58e0e46c3026ae7a4@buzz.block.builderlab.xyz> 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(community_id, revision)
|
||||
.get_event_by_id_including_deleted(community_id, revision)
|
||||
.await?
|
||||
.ok_or_else(|| {
|
||||
WorkflowError::InvalidDefinition(
|
||||
|
||||
Reference in New Issue
Block a user