mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 10:26:08 +01:00 
			
		
		
		
	chore(routes): fix no-explicit-any lint/ts error for restoreRevision
This commit is contained in:
		| @@ -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 }); | ||||
|         }); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user