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>
pull/7220/head
dsmackie 2023-09-07 02:40:26 +09:30 committed by GitHub
parent 9f1a9e306c
commit a23cd6c1d5
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,