loop54-js-connector
Advanced tools
Comparing version 1.6.117 to 1.7.119
@@ -65,3 +65,3 @@ 'use strict'; | ||
versions: { | ||
libVersion: "1.5.117", //"117" will be replaced by teamcity. also in package.json | ||
libVersion: "1.7.119", //"119" will be replaced by teamcity. also in package.json | ||
apiVersion: "V3" | ||
@@ -136,13 +136,13 @@ }, | ||
}) | ||
.catch(function (response) { | ||
.catch(function (error) { | ||
if (axios.isCancel(response)) { | ||
if (axios.isCancel(error)) { | ||
return { cancelled:true }; | ||
} | ||
var ret = response; | ||
var ret = error; | ||
//if there is no data, that means something went wrong before we got a response | ||
//construct a "fake" response object with the same properties as an error from the engine | ||
if(!ret.data) { | ||
if(!ret.response.data) { | ||
ret = { | ||
@@ -149,0 +149,0 @@ data: { |
{ | ||
"name": "loop54-js-connector", | ||
"version": "1.6.117", | ||
"version": "1.7.119", | ||
"description": "JS Wrapper for Loop54 JSON API", | ||
@@ -5,0 +5,0 @@ "license": "BSD-3-Clause", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display