Updating to accept action as an object specifier.
This commit is contained in:
parent
fef5c2a003
commit
ad46ff6f8c
|
@ -33,7 +33,7 @@
|
|||
}
|
||||
|
||||
// action is one of 'created', 'updated' or 'deleted'
|
||||
async function saveRelationship(action) {
|
||||
async function saveRelationship({ action }) {
|
||||
try {
|
||||
await beforeSave({ action, datasource })
|
||||
|
||||
|
|
Loading…
Reference in New Issue