mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
change key to match old error message
This commit is contained in:
parent
2dd3014374
commit
e36458a6c0
@ -2163,7 +2163,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt
|
||||
cred
|
||||
)
|
||||
if cred_error:
|
||||
raise serializers.ValidationError({"detail": cred_error})
|
||||
raise serializers.ValidationError({"credential": cred_error})
|
||||
|
||||
return attrs
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user