fix: server hook args

This commit is contained in:
Chareice 2022-02-09 20:51:29 +08:00 committed by chenos
parent 61522a48fb
commit 0526e4ff1f

View File

@ -39,7 +39,7 @@ export class ServerHooks {
collection: collectionModel.get('name'),
},
{
collectionModel,
collectionInstance: collectionModel,
options,
},
transaction,
@ -56,7 +56,7 @@ export class ServerHooks {
collection: collectionName,
},
{
fieldInstance: fieldModel,
collectionFieldInstance: fieldModel,
options,
},
transaction,
@ -75,7 +75,7 @@ export class ServerHooks {
'fields.$anyOf': [fieldName],
},
{
fieldInstance: fieldModel,
collectionFieldInstance: fieldModel,
options,
},
transaction,