Skip to content

Commit

Permalink
chore: fix update_flow
Browse files Browse the repository at this point in the history
  • Loading branch information
garciagarciaadrian committed Jan 30, 2024
1 parent 0e5ff1a commit cfb1e77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alice/onboarding/onboarding_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ def create_flow(
data = {
"default": default,
"name": name,
"steps": [step.value for step in steps],
"steps": [step.model_dump(mode="json") for step in steps],
}

if id_:
Expand Down Expand Up @@ -2189,7 +2189,7 @@ def update_flow(
"id": flow_id,
"default": default,
"name": name,
"steps": [step.value for step in steps],
"steps": [step.model_dump(mode="json") for step in steps],
}

try:
Expand Down

0 comments on commit cfb1e77

Please sign in to comment.