added cookie to config + fixed config set endpoint

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

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();
});