mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-28 10:51:49 -05:00
Merge pull request #2459 from AlanCoding/old_cred_msg
Change key to match old error message
This commit is contained in:
@@ -2163,7 +2163,7 @@ class InventorySourceSerializer(UnifiedJobTemplateSerializer, InventorySourceOpt
|
|||||||
cred
|
cred
|
||||||
)
|
)
|
||||||
if cred_error:
|
if cred_error:
|
||||||
raise serializers.ValidationError({"detail": cred_error})
|
raise serializers.ValidationError({"credential": cred_error})
|
||||||
|
|
||||||
return attrs
|
return attrs
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user