@adminforth/crud-approve-plugin 1.0.7 → 1.0.8
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 -0
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -349,6 +349,7 @@ export default class CRUDApprovePlugin extends AdminForthPlugin {
|
|
|
349
349
|
const diffData = diffRecord[this.options.resourceColumns.dataColumnName];
|
|
350
350
|
const extra = diffRecord[this.options.resourceColumns.extraColumnName] || {};
|
|
351
351
|
extra.body = body;
|
|
352
|
+
extra.cookies = cookies;
|
|
352
353
|
let oldRecord = undefined;
|
|
353
354
|
if (action !== AllowedActionsEnum.create) {
|
|
354
355
|
oldRecord = await this.adminforth.connectors[resource.dataSource].getRecordByPrimaryKey(
|