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.
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.