added cookie to config + fixed config set endpoint

This commit is contained in:
dswbx committed 2024-11-25 16:57:12 +01:00
1 parent 824ff40133
commit 16a6a3315d
14 files changed
+114 -47

No files matched your search

+1 -1
View File
@@ -90,7 +90,7 @@ export class DataController implements ClassController {
}
hono.use("*", async (c, next) => {
this.ctx.guard.throwUnlessGranted(SystemPermissions.api);
this.ctx.guard.throwUnlessGranted(SystemPermissions.accessApi);
await next();
});