chore(routes): fix no-explicit-any lint/ts error for restoreRevision

This commit is contained in:
Panagiotis Papadopoulos 2025-03-08 16:12:37 +01:00
parent 7bd9be7b29
commit e20b662ea7

View File

@ -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 });
});
}