zet-lib 1.5.26 → 1.5.28
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/lib/zGeneratorRouter.js +1 -1
- package/lib/zRoleRouter.js +1 -1
- package/package.json +1 -1
package/lib/zGeneratorRouter.js
CHANGED
|
@@ -673,7 +673,7 @@ const generate = async (req, res) => {
|
|
|
673
673
|
if (err) {
|
|
674
674
|
console.log(err.toString());
|
|
675
675
|
}
|
|
676
|
-
pm2.
|
|
676
|
+
pm2.reload(process.env.PM2_NAME, (err, proc) => {
|
|
677
677
|
//io.to(room).emit("message","Restart done")
|
|
678
678
|
});
|
|
679
679
|
});
|
package/lib/zRoleRouter.js
CHANGED
|
@@ -102,7 +102,7 @@ router.post('/update/:id', async function (req, res, next) {
|
|
|
102
102
|
if (err) {
|
|
103
103
|
//console.log(err.toString());
|
|
104
104
|
}
|
|
105
|
-
pm2.
|
|
105
|
+
pm2.reload(process.env.PM2_NAME, (err, proc) => {
|
|
106
106
|
//io.to(room).emit("message","Restart done")
|
|
107
107
|
})
|
|
108
108
|
})
|