mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-10 18:11:49 -05:00
Add backwards compatibility for injecting single file
This commit is contained in:
@@ -696,7 +696,7 @@ class CredentialTypeInjectorField(JSONSchemaField):
|
||||
'file': {
|
||||
'type': 'object',
|
||||
'patternProperties': {
|
||||
'^template\.[a-zA-Z_]+$': {'type': 'string'},
|
||||
'^template(\.[a-zA-Z_]+)?$': {'type': 'string'},
|
||||
},
|
||||
'additionalProperties': False,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user