node-consul-service 1.0.41 → 1.0.42
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.
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -19414,7 +19414,7 @@ async function callService(serviceName, options = {}) {
|
|
|
19414
19414
|
headers,
|
|
19415
19415
|
params,
|
|
19416
19416
|
});
|
|
19417
|
-
return response;
|
|
19417
|
+
return response.data;
|
|
19418
19418
|
}
|
|
19419
19419
|
catch (error) {
|
|
19420
19420
|
return {
|
package/dist/index.esm.js
CHANGED
|
@@ -19412,7 +19412,7 @@ async function callService(serviceName, options = {}) {
|
|
|
19412
19412
|
headers,
|
|
19413
19413
|
params,
|
|
19414
19414
|
});
|
|
19415
|
-
return response;
|
|
19415
|
+
return response.data;
|
|
19416
19416
|
}
|
|
19417
19417
|
catch (error) {
|
|
19418
19418
|
return {
|