fix: skip permission
This commit is contained in:
parent
3f3e9b5373
commit
97c63830dd
@ -77,12 +77,12 @@ for (const plugin of plugins) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
api.acl.use(async (ctx, next) => {
|
// api.acl.use(async (ctx, next) => {
|
||||||
ctx.permission = {
|
// ctx.permission = {
|
||||||
skip: true,
|
// skip: true,
|
||||||
};
|
// };
|
||||||
await next();
|
// await next();
|
||||||
});
|
// });
|
||||||
|
|
||||||
if (process.argv.length < 3) {
|
if (process.argv.length < 3) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
Loading…
Reference in New Issue
Block a user