@autofleet/sadot 0.5.4-beta.15 → 0.5.4-beta.16
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.
|
@@ -101,6 +101,7 @@ router.patch('/:customFieldDefinitionId', async (req, res) => {
|
|
|
101
101
|
const { customFieldDefinitionId, modelName } = req.params;
|
|
102
102
|
const modelType = toPascalCase(modelName);
|
|
103
103
|
try {
|
|
104
|
+
logger_1.default.info('sadot Updating custom field definition', { customFieldDefinitionId, modelType });
|
|
104
105
|
// eslint-disable-next-line max-len
|
|
105
106
|
const validatedPayload = await (0, validations_1.validateCustomFieldDefinitionUpdate)(req.body);
|
|
106
107
|
const customFieldDefinition = await DefinitionRepo.findByWhere({
|
package/package.json
CHANGED
|
@@ -84,6 +84,7 @@ router.patch('/:customFieldDefinitionId', async (req, res) => {
|
|
|
84
84
|
const { customFieldDefinitionId, modelName } = req.params as any;
|
|
85
85
|
const modelType = toPascalCase(modelName);
|
|
86
86
|
try {
|
|
87
|
+
logger.info('sadot Updating custom field definition', { customFieldDefinitionId, modelType });
|
|
87
88
|
// eslint-disable-next-line max-len
|
|
88
89
|
const validatedPayload: UpdateCustomFieldDefinition = await validateCustomFieldDefinitionUpdate(req.body);
|
|
89
90
|
|