Added a capability to minimize the sidebar

This commit is contained in:
Tiago Ribeiro
2023-09-03 14:41:10 +01:00
parent 0013d86ef8
commit 5263cc260d
4 changed files with 68 additions and 22 deletions

View File

@@ -24,6 +24,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
res.status(200).json({
id: docSnap.id,
...docSnap.data(),
module,
});
} else {
res.status(404).json(undefined);