mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-12 20:02:28 +08:00
chore(routes): fix no-explicit-any lint/ts error for restoreRevision
This commit is contained in:
parent
7bd9be7b29
commit
e20b662ea7
@ -144,7 +144,7 @@ function restoreRevision(req: Request) {
|
|||||||
|
|
||||||
note.title = revision.title;
|
note.title = revision.title;
|
||||||
note.mime = revision.mime;
|
note.mime = revision.mime;
|
||||||
note.type = revision.type as any;
|
note.type = revision.type;
|
||||||
note.setContent(revisionContent, { forceSave: true });
|
note.setContent(revisionContent, { forceSave: true });
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user