monkey-front-core 0.0.106 → 0.0.107
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/esm2020/lib/core/services/commons/monkeyecx-commons.service.mjs +5 -3
- package/fesm2015/monkey-front-core.mjs +4 -2
- package/fesm2015/monkey-front-core.mjs.map +1 -1
- package/fesm2020/monkey-front-core.mjs +4 -2
- package/fesm2020/monkey-front-core.mjs.map +1 -1
- package/monkey-front-core-0.0.107.tgz +0 -0
- package/package.json +1 -1
- package/monkey-front-core-0.0.106.tgz +0 -0
|
@@ -1996,10 +1996,12 @@ class MonkeyEcxCommonsService {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
genericMethod(link, data, callback) {
|
|
1998
1998
|
const { href, type = 'get' } = link;
|
|
1999
|
-
this.monkeyecxService?.[type.toLowerCase()](`${href}`, data)?.subscribe(() => {
|
|
1999
|
+
this.monkeyecxService?.[type.toLowerCase()](`${href}`, data)?.subscribe((resp) => {
|
|
2000
2000
|
if (callback)
|
|
2001
|
-
callback();
|
|
2001
|
+
callback(resp);
|
|
2002
2002
|
}, (err) => {
|
|
2003
|
+
if (callback)
|
|
2004
|
+
callback();
|
|
2003
2005
|
throwError(err);
|
|
2004
2006
|
});
|
|
2005
2007
|
}
|