server-ts: Address requested changes

This commit is contained in:
Elian Doran
2024-03-30 10:49:40 +02:00
parent 5e5add7e47
commit 3eb7ed5dda
11 changed files with 40 additions and 28 deletions

View File

@@ -20,7 +20,7 @@ function getBlobPojo(entityName: string, entityId: string) {
if (!entity.hasStringContent()) {
pojo.content = null;
} else {
pojo.content = processContent(pojo.content, entity.isProtected, true);
pojo.content = processContent(pojo.content, !!entity.isProtected, true);
}
return pojo;