Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated urls from hardcoded root to self.adom #25

Merged
merged 1 commit into from
Feb 2, 2023
Merged

updated urls from hardcoded root to self.adom #25

merged 1 commit into from
Feb 2, 2023

Conversation

gt732
Copy link

@gt732 gt732 commented Feb 1, 2023

Hey!

I noticed when using def assign_meta_to_device function, the request URL would always go to root adom even though I specified one when I created the initial object with the FortiManager class. I looked at the source code and it is hardcoded to root, I updated it to use self.adom instead.

example urls pulled from documentation

/dvmdb/adom/{adom}/device/{device}
/dvmdb/adom/{adom}/script/execute

@akshaymane920
Copy link
Owner

I needed this clearing l, thanks for taking up. :).

@akshaymane920 akshaymane920 merged commit 204539c into akshaymane920:master Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants