grafana-wizzy / wizzy

Manage & automate Grafana with easy wizzy
https://grafana-wizzy.com
Apache License 2.0
468 stars 60 forks source link

Authentication is not well set on syncReq #155

Closed Sytten closed 5 years ago

Sytten commented 5 years ago

While debugging #133 I realized that the authentication is not correctly passed in the headers since it doesn't use the same method for requests (it uses sync-request). I feel like I will rewrite this code to use async/await so we can remove the callback hell. In the meantime I will add the proper headers manually.

Sytten commented 5 years ago

Fixed with https://github.com/grafana-wizzy/wizzy/commit/486fcad1de23f25b7a1335b45d82b16c0cb1f2d8