@adminforth/crud-approve-plugin 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.ts +1 -1
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -342,7 +342,7 @@ export default class CRUDApprovePlugin extends AdminForthPlugin {
|
|
|
342
342
|
const beforeSaveResp = await this.callBeforeSaveHooks(
|
|
343
343
|
resource, action as AllowedActionsEnum, diffData['newRecord'],
|
|
344
344
|
adminUser, diffRecord[this.options.resourceColumns.recordIdColumnName],
|
|
345
|
-
|
|
345
|
+
diffData['newRecord'], diffData['oldRecord'], this.adminforth, extra
|
|
346
346
|
);
|
|
347
347
|
if (beforeSaveResp.error) {
|
|
348
348
|
response.status = 500;
|