Skip to content
Snippets Groups Projects
Commit 8dd56a58 authored by Lennard Strohmeyer's avatar Lennard Strohmeyer :penguin:
Browse files

fix for migration in cases where default consent is not set

parent 20cd27fb
No related branches found
No related tags found
No related merge requests found
Pipeline #1633201 passed
Pipeline: FIRST_START

#1633227

    ......@@ -41,7 +41,7 @@ def migrate_schema_to_objects(apps, schema_editor):
    verb_id = verb_data["id"],
    label = verb_data["label"],
    description = verb_data["description"],
    default_consent = verb_data["defaultConsent"],
    default_consent = verb_data["defaultConsent"] if "defaultConsent" in verb_data.keys() else False,
    active = schema.superseded_by is None,
    essential = False,
    allow_anonymized_collection = verb_data["allowAnonymizedCollection"]
    ......
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment