mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Fix a issue with old comments
This commit is contained in:
		| @@ -57,7 +57,8 @@ fn db_to_comment(row: &database::RowResult) -> ResultBoxError<Comment> { | ||||
|         user_id: row.get_user_id("ID_personne")?, | ||||
|         post_id: row.get_u64("ID_texte")?, | ||||
|         content: row.get_str("commentaire")?, | ||||
|         image_path: row.get_optional_str("image_commentaire")?, | ||||
|         image_path: row.get_optional_str("image_commentaire")? | ||||
|             .map(|f| f.replace("file:", "")), | ||||
|     }) | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user