Add logs
All checks were successful
Demo - Build & Deploy to Scaleway / build-and-push-images-lecoffre (push) Successful in 1m48s
Demo - Build & Deploy to Scaleway / deploy-back-lecoffre (push) Successful in 3s
Demo - Build & Deploy to Scaleway / deploy-cron-lecoffre (push) Successful in 3s

This commit is contained in:
Omar Oughriss 2025-07-25 15:47:12 +02:00
parent b80f5ce517
commit b601428bdb

View File

@ -75,7 +75,7 @@ export default async function folderHandler(req: Request, response: Response, ne
}
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;
}