not-node 5.1.1 → 5.1.4
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/package.json +1 -1
- package/src/generic/logic.js +4 -4
- package/src/generic/route.js +1 -1
- package/src/manifest/route.js +1 -1
package/package.json
CHANGED
package/src/generic/logic.js
CHANGED
|
@@ -331,7 +331,7 @@ module.exports = ({
|
|
|
331
331
|
query[ownerFieldName] = activeUser._id;
|
|
332
332
|
}
|
|
333
333
|
const result = await getModel().getOneRaw(targetId, query);
|
|
334
|
-
|
|
334
|
+
LogAction(
|
|
335
335
|
{
|
|
336
336
|
action,
|
|
337
337
|
by: activeUser._id,
|
|
@@ -444,7 +444,7 @@ module.exports = ({
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
|
|
447
|
+
LogAction(
|
|
448
448
|
{
|
|
449
449
|
action,
|
|
450
450
|
by: activeUser._id,
|
|
@@ -517,7 +517,7 @@ module.exports = ({
|
|
|
517
517
|
};
|
|
518
518
|
}
|
|
519
519
|
const result = await getModel().listAll(filter);
|
|
520
|
-
|
|
520
|
+
LogAction({
|
|
521
521
|
action,
|
|
522
522
|
by: activeUser._id,
|
|
523
523
|
role: activeUser.role,
|
|
@@ -559,7 +559,7 @@ module.exports = ({
|
|
|
559
559
|
search,
|
|
560
560
|
populate
|
|
561
561
|
);
|
|
562
|
-
|
|
562
|
+
LogAction({
|
|
563
563
|
action,
|
|
564
564
|
by: activeUser._id,
|
|
565
565
|
role: activeUser.role,
|
package/src/generic/route.js
CHANGED
package/src/manifest/route.js
CHANGED
|
@@ -165,7 +165,7 @@ class notRoute {
|
|
|
165
165
|
routeIsRunnable(modRoute, actionName) {
|
|
166
166
|
return (
|
|
167
167
|
modRoute &&
|
|
168
|
-
objHas(modRoute, actionName) &&
|
|
168
|
+
//objHas(modRoute, actionName) && // -- not working on static classes methods
|
|
169
169
|
typeof modRoute[actionName] === "function"
|
|
170
170
|
);
|
|
171
171
|
}
|