hof 21.0.3-axios-beta → 21.0.5-axios-beta

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
  const url = require('url');
3
3
 
4
- module.exports = (settings, body)=>{
4
+ module.exports = (settings, body) => {
5
5
  return Object.assign({}, settings, {
6
6
  'url' : settings.uri || settings.url || url.format(settings),
7
- 'data': settings.body || body || settings.data,
7
+ 'data': settings.body || body || settings.data
8
8
  });
9
9
  }
@@ -10,7 +10,7 @@ module.exports = class PDFModel extends Model {
10
10
  settings.encoding = null;
11
11
  settings.rejectUnauthorized = false;
12
12
  settings.responseType = 'arraybuffer';
13
- console.log("settings---------------: ", settings);
13
+ console.log("settings------+_+_+_+_---------: ", settings);
14
14
  return settings;
15
15
  }
16
16
 
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.3-axios-beta",
4
+ "version": "21.0.5-axios-beta",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",