identity-admin 1.13.1 → 1.15.0
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.
|
@@ -301,7 +301,7 @@ let DashboardController = DashboardController_1 = class DashboardController {
|
|
|
301
301
|
// await AppSettings.run()
|
|
302
302
|
// }
|
|
303
303
|
if (crudOperations && crudOperations.update && crudOperations.update.after) {
|
|
304
|
-
recordSaveResult = yield crudOperations.update.after(req, recordSaveResult, currentUser);
|
|
304
|
+
recordSaveResult = yield crudOperations.update.after(req, recordSaveResult, recordParams, currentUser);
|
|
305
305
|
}
|
|
306
306
|
return ResponseUtils_1.default.ok(res, {
|
|
307
307
|
record: recordSaveResult
|
|
@@ -75,7 +75,7 @@ interface ICrudOperations {
|
|
|
75
75
|
* After handler that gives you the access to the updated document.
|
|
76
76
|
* @returns the updated document
|
|
77
77
|
*/
|
|
78
|
-
after?: (req: IRequest, document: Document, currentUser: Document) => Promise<Document>;
|
|
78
|
+
after?: (req: IRequest, document: Document, params: any, currentUser: Document) => Promise<Document>;
|
|
79
79
|
};
|
|
80
80
|
show?: {
|
|
81
81
|
after?: (req: IRequest, record: Document) => Promise<{
|