Skip to content
This repository was archived by the owner on Jan 15, 2024. It is now read-only.

Fix team preferences api url #11

Merged
merged 4 commits into from
Oct 26, 2020
Merged

Conversation

jonathan-dorsey
Copy link
Contributor

The url being used to update team preferences was not valid. I don't think this could have ever been used successfully. While making that change, I updated the method to accept a Preferences instance instead of passing in the individual values. This should be a cleaner long-term approach.

@jonathan-dorsey
Copy link
Contributor Author

@aknuds1 @trotttrotttrott - I will be creating a PR for the terraform provider so that you can manage the team preferences as well. Would like the ability to specify a default dashboard for teams. We need to fix this API method in order to do that.

Thanks!

Copy link
Contributor

@aknuds1 aknuds1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks as if you're right, the URL was wrong. Thanks! The new signature also looks cleaner.

@aknuds1 aknuds1 added the bug label Oct 26, 2020
@aknuds1 aknuds1 merged commit d171908 into grafana:master Oct 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants