1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

[PR #7161/a23cd6c1 backport][stable-6] Update incorrect path for pritunl organization post (#7213)

Update incorrect path for pritunl organization post (#7161)

* Update incorrect path for organization post

* Create changelog fragment

* Update changelog fragment.

---------

Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit a23cd6c1d5)

Co-authored-by: dsmackie <48046804+dsmackie@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2023-09-06 22:06:20 +02:00 committed by GitHub
parent f4ccef462e
commit 830e3988aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- pritunl module utils - fix incorrect URL parameter for orgnization add method (https://github.com/ansible-collections/community.general/pull/7161).

View file

@ -79,7 +79,7 @@ def _post_pritunl_organization(
api_secret=api_secret, api_secret=api_secret,
base_url=base_url, base_url=base_url,
method="POST", method="POST",
path="/organization/%s", path="/organization",
headers={"Content-Type": "application/json"}, headers={"Content-Type": "application/json"},
data=json.dumps(organization_data), data=json.dumps(organization_data),
validate_certs=validate_certs, validate_certs=validate_certs,