diff options
| author | Magnus Hagander | 2024-12-04 18:25:47 +0000 |
|---|---|---|
| committer | Magnus Hagander | 2024-12-04 18:25:47 +0000 |
| commit | a59cddc65c8f6c509f108e6b6cd189d2df46b48a (patch) | |
| tree | 11678ac08956185da3266ce9450c90fa8237a0cb /postgresqleu | |
| parent | 84cc71e8bc46e79713a2024054a2a53116947864 (diff) | |
Don't crash when contract has signwell enabled but no fields
Diffstat (limited to 'postgresqleu')
| -rw-r--r-- | postgresqleu/digisign/implementations/signwell.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/digisign/implementations/signwell.py b/postgresqleu/digisign/implementations/signwell.py index 10f7df5c..30c92d42 100644 --- a/postgresqleu/digisign/implementations/signwell.py +++ b/postgresqleu/digisign/implementations/signwell.py @@ -121,7 +121,7 @@ class Signwell(BaseProvider): "allow_decline": True, "allow_reassign": True, "metadata": metadata, - "fields": [fielddata['signwellfields']], + "fields": [fielddata.get('signwellfields', [])], "draft": False, "api_application_id": self.provider.config.get('applicationid'), "expires_in": expires_in, |
