Skip to content

Commit

Permalink
Allow from testing to testing on retry
Browse files Browse the repository at this point in the history
  • Loading branch information
zacksiri committed Jul 2, 2024
1 parent 320fe1f commit 0fb3d3a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/polar/streams/version/transitions.ex
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ defmodule Polar.Streams.Version.Transitions do
fn changes -> transit(changes) end
)

Version
|> transition(
[from: "testing", to: "testing", via: "test"],
fn changes -> transit(changes) end
)

Version
|> transition(
[from: "inactive", to: "testing", via: "test"],
Expand Down

0 comments on commit 0fb3d3a

Please sign in to comment.