fix(middleware): revert now variable back (#2267)
This commit is contained in:
parent
d36b9e366a
commit
b3e34d7f92
@ -44,6 +44,9 @@ export const parseVariables = async (ctx, next) => {
|
||||
return ctx.db.getFieldByPath(`${resourceName}.${fieldPath}`);
|
||||
},
|
||||
vars: {
|
||||
$system: {
|
||||
now: new Date().toISOString(),
|
||||
},
|
||||
$date: getDateVars(),
|
||||
$user: getUser(ctx),
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user