mirror of
https://github.com/ansible/awx.git
synced 2026-03-10 05:59:28 -02:30
fix API browser server error on relaunch
This commit is contained in:
@@ -4143,7 +4143,7 @@ class JobRelaunch(RetrieveAPIView):
|
||||
for p in needed_passwords:
|
||||
data['credential_passwords'][p] = u''
|
||||
else:
|
||||
data.pop('credential_passwords')
|
||||
data.pop('credential_passwords', None)
|
||||
return data
|
||||
|
||||
@csrf_exempt
|
||||
|
||||
Reference in New Issue
Block a user