|
@@ -105,6 +105,8 @@ export class TranslatableSaver {
|
|
|
new entityType({ ...input, translations: existingTranslations }),
|
|
new entityType({ ...input, translations: existingTranslations }),
|
|
|
diff,
|
|
diff,
|
|
|
);
|
|
);
|
|
|
|
|
+ entity.updatedAt = new Date();
|
|
|
|
|
+
|
|
|
const updatedEntity = patchEntity(entity as any, omit(input, ['translations']));
|
|
const updatedEntity = patchEntity(entity as any, omit(input, ['translations']));
|
|
|
if (typeof beforeSave === 'function') {
|
|
if (typeof beforeSave === 'function') {
|
|
|
await beforeSave(entity);
|
|
await beforeSave(entity);
|