mirror of
				https://github.com/Blah-IM/blahrs.git
				synced 2025-10-31 02:31:37 +00:00 
			
		
		
		
	fix(types)!: fix missed rename and fix test
This commit is contained in:
		
							parent
							
								
									1ecea448a2
								
							
						
					
					
						commit
						70568f1ffa
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -357,7 +357,7 @@ pub struct RemoveMemberPayload { | |||
| 
 | ||||
| // TODO: Maybe disallow adding other user without consent?
 | ||||
| #[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)] | ||||
| #[serde(tag = "typ", rename_all = "snake_case")] | ||||
| #[serde(tag = "typ", rename_all = "snake_case", rename = "add_member")] | ||||
| pub struct AddMemberPayload { | ||||
|     pub room: Id, | ||||
|     #[serde(flatten)] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 oxalica
						oxalica