mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-10-30 23:24:42 +00:00 
			
		
		
		
	Fix error
This commit is contained in:
		| @@ -7,9 +7,10 @@ use serde::Serialize; | ||||
| use crate::data::user_like::UserLike; | ||||
|  | ||||
| #[derive(Serialize)] | ||||
| #[allow(non_snake_case)] | ||||
| pub struct UserLikeAPI { | ||||
|     id: u64, | ||||
|     user_id: u64, | ||||
|     userID: u64, | ||||
|     time_sent: u64, | ||||
|     elem_type: String, | ||||
|     elem_id: u64, | ||||
| @@ -19,7 +20,7 @@ impl UserLikeAPI { | ||||
|     pub fn new(l: &UserLike) -> UserLikeAPI { | ||||
|         UserLikeAPI { | ||||
|             id: l.id, | ||||
|             user_id: l.user_id.id(), | ||||
|             userID: l.user_id.id(), | ||||
|             time_sent: l.time_sent, | ||||
|             elem_type: l.elem_type.clone(), | ||||
|             elem_id: l.elem_id, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user