-
Notifications
You must be signed in to change notification settings - Fork 65
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
Query params are duplicated #97
Comments
This is the URL that is being called by the plugin:
|
That looks weird indeed 🤔 I'll try to troubleshoot this in the coming days. Thanks for reporting! |
I had a deep-ish look at this myself. I don't think the problem is in your code -- I think it's the underlying Grafana fetch function that has a bug. When the request gets handed off to |
I've just discovered an interesting problem (using version 1.1.1): all query parameters specified in the query params tab arrive at my REST API wrapped in an array, with a double value (edit: not actually wrapped in an array: each query param is listed twice). For example:
With a simple node express app, if I dump the request query params to the console, this is what shows up:
Yields:
The text was updated successfully, but these errors were encountered: