mirror of https://github.com/status-im/consul.git
bda515abe9
Previously the API around setting headers wasn't within a Promised like code path, so we needed a little 'cheat' function to get a token from localStorage syncronously. Since we refactored our adapter layer, we now have a Promised codepath where we need to access this localStorage value and set our headers. This means we can remove our little 'cheat' function. |
||
---|---|---|
.. | ||
http.js |