mirror of
https://github.com/ZwareBear/awx.git
synced 2026-03-22 16:53:35 -05:00
Merge pull request #1393 from AlanCoding/no_cred_pass
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