mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 18:39:22 +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.mime = revision.mime;
|
||||
note.type = revision.type as any;
|
||||
note.type = revision.type;
|
||||
note.setContent(revisionContent, { forceSave: true });
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user