Skip to content

Commit

Permalink
Fixed a logic bug which set the wrong value to the verified fields pr…
Browse files Browse the repository at this point in the history
…operty.
  • Loading branch information
zepich committed Dec 14, 2024
1 parent 248a7a9 commit 1cabd20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mosparo_api_client/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def verify_submission(self, form_data: dict, submit_token: str = None,
is_valid = False

verified_fields = {}
if 'verifiedFields' in res:
if 'verifiedFields' in res and res['verifiedFields']:
verified_fields = res['verifiedFields']

issues = []
Expand Down

0 comments on commit 1cabd20

Please sign in to comment.