chore: rename api-key-macaroon

This commit is contained in:
Eneko Illarramendi
2020-04-16 20:58:16 +02:00
parent a834a64319
commit fd4dddda6e
8 changed files with 33 additions and 33 deletions
+2 -2
View File
@@ -4,12 +4,12 @@ var EventHub = new Vue();
var LNbits = {
api: {
request: function (method, url, macaroon, data) {
request: function (method, url, apiKey, data) {
return axios({
method: method,
url: url,
headers: {
'api_key': macaroon
'X-Api-Key': apiKey
},
data: data
});