Skip to content

Commit

Permalink
Fix handling webhook called events on resumes
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanseymour committed Sep 21, 2021
1 parent 1af8fc5 commit 64ab214
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/models/runs.go
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,10 @@ func (s *Session) WriteUpdatedSession(ctx context.Context, tx *sqlx.Tx, rp *redi
// calculate our new timeout
s.calculateTimeout(fs, sprint)

// set our sprint and wait
// set our sprint, wait and step finder
s.sprint = sprint
s.wait = fs.Wait()
s.findStep = fs.FindStep

// run through our runs to figure out our current flow
for _, r := range fs.Runs() {
Expand Down

0 comments on commit 64ab214

Please sign in to comment.