Skip to content

Commit

Permalink
Merge pull request #47
Browse files Browse the repository at this point in the history
Fix typo in 3.0.7 upgrade
  • Loading branch information
MatteoCampinoti94 authored Aug 26, 2024
2 parents 81b9333 + 05e87da commit 1d507eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acacore/database/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ def upgrade_3_0_2to3_0_6(conn: Connection) -> Version:

def upgrade_3_0_6to3_0_7(conn: Connection) -> Version:
def convert_action_data(data: dict) -> dict | None:
if (reidentify := data.get("reidentify")) and reidentify.get("onfail"):
if (reidentify := data.get("reidentify")) and reidentify.get("on_fail"):
data["reidentify"]["on_fail"] = "action"
return data
else:
Expand Down

0 comments on commit 1d507eb

Please sign in to comment.