mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +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.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 }); | ||||||
|         }); |         }); | ||||||
|     } |     } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user