fix: server hook args
This commit is contained in:
parent
61522a48fb
commit
0526e4ff1f
@ -39,7 +39,7 @@ export class ServerHooks {
|
|||||||
collection: collectionModel.get('name'),
|
collection: collectionModel.get('name'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
collectionModel,
|
collectionInstance: collectionModel,
|
||||||
options,
|
options,
|
||||||
},
|
},
|
||||||
transaction,
|
transaction,
|
||||||
@ -56,7 +56,7 @@ export class ServerHooks {
|
|||||||
collection: collectionName,
|
collection: collectionName,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldInstance: fieldModel,
|
collectionFieldInstance: fieldModel,
|
||||||
options,
|
options,
|
||||||
},
|
},
|
||||||
transaction,
|
transaction,
|
||||||
@ -75,7 +75,7 @@ export class ServerHooks {
|
|||||||
'fields.$anyOf': [fieldName],
|
'fields.$anyOf': [fieldName],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
fieldInstance: fieldModel,
|
collectionFieldInstance: fieldModel,
|
||||||
options,
|
options,
|
||||||
},
|
},
|
||||||
transaction,
|
transaction,
|
||||||
|
Loading…
Reference in New Issue
Block a user