summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsoftwarefactory-project-zuul[bot] <33884098+softwarefactory-project-zuul[bot]@users.noreply.github.com>2020-06-23 20:31:50 +0200
committerGitHub <noreply@github.com>2020-06-23 20:31:50 +0200
commit69589821ce2fd49c8db8b60bf34ff6b4b0df683a (patch)
tree52caaa562a61f460ea874e08997be6737a743711
parentMerge pull request #7416 from jakemcdermott/fix-cred-user-team-org-save (diff)
parentUpdate awxkit credential creation (diff)
downloadawx-69589821ce2fd49c8db8b60bf34ff6b4b0df683a.tar.xz
awx-69589821ce2fd49c8db8b60bf34ff6b4b0df683a.zip
Merge pull request #7420 from elyezer/update-credential-creation13.0.0
Update awxkit credential creation Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
-rw-r--r--awxkit/awxkit/api/pages/credentials.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/awxkit/awxkit/api/pages/credentials.py b/awxkit/awxkit/api/pages/credentials.py
index 88f89dd3b3..d5ba0c4d05 100644
--- a/awxkit/awxkit/api/pages/credentials.py
+++ b/awxkit/awxkit/api/pages/credentials.py
@@ -310,7 +310,7 @@ class Credential(HasCopy, HasCreate, base.Base):
credential_type=CredentialType,
user=None,
team=None,
- organization=Organization,
+ organization=None,
inputs=None,
**kwargs):
payload = self.create_payload(
@@ -323,7 +323,7 @@ class Credential(HasCopy, HasCreate, base.Base):
return self.update_identity(
Credentials(
self.connection)).post(payload)
-
+
def test(self, data):
"""Test the credential endpoint."""
response = self.connection.post(urljoin(str(self.url), 'test/'), data)