Add logs
All checks were successful
All checks were successful
This commit is contained in:
parent
b80f5ce517
commit
b601428bdb
@ -75,7 +75,7 @@ export default async function folderHandler(req: Request, response: Response, ne
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (officeFolder.office_uid != officeId) {
|
if (officeFolder.office_uid != officeId) {
|
||||||
response.status(HttpCodes.UNAUTHORIZED).send("Unauthorized with this office");
|
response.status(HttpCodes.UNAUTHORIZED).send("Unauthorized with this office" + "\n" + " Office folder " + JSON.stringify(officeFolder) + "\n" + " Office req " + JSON.stringify(req.body.user));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user