Updating to accept action as an object specifier.

This commit is contained in:
mike12345567 2023-09-05 19:33:43 +01:00
parent fef5c2a003
commit ad46ff6f8c
1 changed files with 1 additions and 1 deletions

View File

@ -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 })