refactor: align SCCreativeWork to schema.org spec

This commit is contained in:
Rainer Killinger
2021-02-01 13:58:09 +01:00
parent d5f3d71a41
commit 8b1b3444fd
3 changed files with 18 additions and 13 deletions

View File

@@ -267,7 +267,7 @@ export class SCThingTranslator {
return this.deeptranslate((objTranslatedFromCache as any)[key]);
}
}
const objTranslated = this.translateWholeThingDestructively(clone(obj));
const objTranslated = this.translateThingInPlaceDestructively(clone(obj));
this.cache.putObject(objTranslated);
this.sourceCache.putObject(thing);