mirror of
https://gitee.com/nocobase/nocobase.git
synced 2024-12-01 19:58:15 +08:00
fix: action blacklist for demo
This commit is contained in:
parent
aedce5589d
commit
8be11714b9
@ -66,7 +66,7 @@ api.resourcer.use(async (ctx: actions.Context, next) => {
|
||||
return next();
|
||||
}
|
||||
const { actionName } = ctx.action.params;
|
||||
if (['create', 'update', 'destroy'].includes(actionName)) {
|
||||
if (['create', 'update', 'destroy', 'sort'].includes(actionName)) {
|
||||
ctx.body = {
|
||||
data: {},
|
||||
meta: {},
|
||||
|
Loading…
Reference in New Issue
Block a user