mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 19:05:59 +01:00
db setup fixes
This commit is contained in:
@@ -15,7 +15,7 @@ async function getNote(req) {
|
||||
}
|
||||
|
||||
if (note.isStringNote()) {
|
||||
await note.getContent();
|
||||
note.content = await note.getContent();
|
||||
|
||||
if (note.type === 'file') {
|
||||
note.content = note.content.substr(0, 10000);
|
||||
|
||||
Reference in New Issue
Block a user