hof 21.0.11-axios-beta → 21.0.13-axios-beta

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/model/index.js +2 -1
  2. package/package.json +1 -1
package/model/index.js CHANGED
@@ -113,6 +113,7 @@ module.exports = class Model extends EventEmitter {
113
113
  if(authVal) {
114
114
  settings.headers = Object.assign({}, settings.headers, {Authorization: `Bearer ${authVal.bearer}`});
115
115
  }
116
+ settings.auth = undefined;
116
117
  console.log("SETTINGS ************")
117
118
  console.log(settings)
118
119
  console.log("SETTINGS ************")
@@ -132,7 +133,7 @@ module.exports = class Model extends EventEmitter {
132
133
  const responseTime = timeDiff(startTime, endTime);
133
134
  if (err) {
134
135
  console.log("*****ERRR********")
135
- console.log(err)
136
+ console.log(data)
136
137
  console.log("*****ERRR********")
137
138
  this.emit('fail', err, data, originalSettings, statusCode, responseTime);
138
139
  reject(err);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "21.0.11-axios-beta",
4
+ "version": "21.0.13-axios-beta",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",