Revert "Support pleromo registrations format"
This reverts commit 741c4efc0e.
			
			
This commit is contained in:
		
							parent
							
								
									741c4efc0e
								
							
						
					
					
						commit
						51ef5c2796
					
				
					 1 changed files with 1 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -80,7 +80,7 @@ impl QueryInstance {
 | 
			
		|||
                description,
 | 
			
		||||
                instance.version,
 | 
			
		||||
                instance.registrations,
 | 
			
		||||
                instance.approval_required || instance.registrations,
 | 
			
		||||
                instance.approval_required,
 | 
			
		||||
            )
 | 
			
		||||
            .await?;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -114,9 +114,6 @@ struct Instance {
 | 
			
		|||
    #[serde(default = "default_approval")]
 | 
			
		||||
    approval_required: bool,
 | 
			
		||||
 | 
			
		||||
    #[serde(default = "default_approval")]
 | 
			
		||||
    registrations: bool,
 | 
			
		||||
 | 
			
		||||
    #[serde(rename = "contact_account")]
 | 
			
		||||
    contact: Option<Contact>,
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue