vtb-appit 0.1.34 → 0.1.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/appit.js +2 -0
  2. package/package.json +1 -1
package/appit.js CHANGED
@@ -1440,6 +1440,8 @@ class Appit {
1440
1440
  if(data && ((data.hasOwnProperty('file') && data.file) || (data.hasOwnProperty('files') && data.files)) && method.toLowerCase() === 'post') {
1441
1441
  return this.handleWithFormData(path, data);
1442
1442
  }
1443
+ if(data.hasOwnProperty('file')) delete data.file;
1444
+ if(data.hasOwnProperty('files')) delete data.files;
1443
1445
 
1444
1446
  const payload = (data) ? JSON.stringify(data).toString("utf8") : false;
1445
1447
  if(!lang) lang = 'nl';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vtb-appit",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {},