diff --git a/modules/data_export_api/public/lib/commands/data_exports/create/check.liquid b/modules/data_export_api/public/lib/commands/data_exports/create/check.liquid index b7d1cfd..d775e2d 100644 --- a/modules/data_export_api/public/lib/commands/data_exports/create/check.liquid +++ b/modules/data_export_api/public/lib/commands/data_exports/create/check.liquid @@ -1,6 +1,10 @@ {% liquid assign c = '{ "errors": {}, "valid": true }' | parse_json + if object.encryption + function c = 'modules/core/validations/gpg', c: c, object: object, field_name: 'encryption' + endif + assign object = object | hash_merge: valid: c.valid, errors: c.errors return object