You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(!commission)returnres.status(404).render('error',{ tenant,title: 'Not Found',message: 'The requested commission was not found.'});
259
259
if(commission.locked&&(getUserRole(req.session)==='user'))returnres.status(403).render('error',{ tenant,title: 'Forbidden',message: 'You do not have permission to edit this commission.'});
if(!tenant.slug||!tenant.name||!tenant.domain)returnres.status(500).json({status: 'error',message: 'Service is not properly configured. Please contact the administrator.'});
if(commission.locked&&(getUserRole(req.session)==='user'))returnres.status(403).json({status: 'error',message: 'You do not have permission to edit this commission.'});
0 commit comments