Comparing version 0.0.11 to 0.0.12
{ | ||
"name": "volenday", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -6,7 +6,8 @@ const axios = require('axios'); | ||
return function (req, res, next) { | ||
axios.get(`http://test.api.aha.volenday.com/api/validateApplication/${applicationId}`).then(({ data }) => { | ||
console.log(data); | ||
axios.get(`http://test.api.aha.volenday.com/api/validateApplication/${applicationId}`).then(response => { | ||
console.log(response); | ||
let credentials = basicAuth(req), | ||
username = 'NTw#n&xsK#P6/Phk', | ||
password = 'qK6(%!U!b`&'; | ||
password = 'qK6(%!U!b`&', | ||
data = response.data; | ||
@@ -13,0 +14,0 @@ data.Configurations.map(d => { |
320774
1374