Update webServerPaths.js

add-archived-and-accountType-columns
Moe 2020-07-11 16:19:43 -07:00
parent 0026c8bd13
commit 122127f162
1 changed files with 1 additions and 1 deletions

View File

@ -950,7 +950,7 @@ module.exports = function(s,config,lang,app,io){
app.get([config.webPaths.apiPrefix+':auth/monitor/:ke',config.webPaths.apiPrefix+':auth/monitor/:ke/:id'], function (req,res){
req.ret={ok:false};
res.setHeader('Content-Type', 'application/json');
s.auth(req.params,(user){
s.auth(req.params,(user) => {
if(user.permissions.get_monitors==="0"){
res.end(s.prettyPrint([]))
return