identity-admin 1.7.0 → 1.8.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.
|
@@ -251,6 +251,7 @@ let DashboardController = DashboardController_1 = class DashboardController {
|
|
|
251
251
|
if (!record) {
|
|
252
252
|
return ResponseUtils_1.default.send(res, 404, 'record Not Found');
|
|
253
253
|
}
|
|
254
|
+
recordParams = LocalizedStringHelper_1.default.mapLocalizableString(recordParams, resource);
|
|
254
255
|
const recordSaveResult = yield repository.update(record, recordParams);
|
|
255
256
|
if (!recordSaveResult.isValid()) {
|
|
256
257
|
return ResponseUtils_1.default.unprocessable(res, 'Invalid Data', recordSaveResult.getErrors());
|