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

Incorrect parameter name environment_id should be environment_ids #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

B-Woody
Copy link

@B-Woody B-Woody commented Dec 1, 2020

I noticed that the API request to promote Content Views was failing and returning the error "Could not find environments for promotion". After some investigation I discovered that the API documentation for POST /katello/api/content_view_versions/:id/promote says that the parameter is named "environment_ids" not "environment_id". Simply adding the s fixed the problem and allowed my Content View to automatically promote as expected.

Thank you for writing and sharing this role. It is incredibly useful!

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.

1 participant