Browse Source
			
			
			improve spelling of minimum expiration hours check
			
				Co-authored-by: Helmut K. C. Tessarek <tessarek@evermeet.cx>
			
			
				pull/2810/head
			
			
		 
		
			
				
					
						 Stefan Melmuk
					
					3 years ago
						Stefan Melmuk
					
					3 years ago
					
						
							committed by
							
								 Daniel García
								Daniel García
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: FC8A7D14C3CD543A
						
					
				
			
		
		
		
	
		
			
				 1 changed files with 
1 additions and 
1 deletions
			 
			
		 
		
			
				- 
					
					
					 
					src/config.rs
				
				
				
					
						
							
								
									
	
		
		
			
				
					|  | @ -730,7 +730,7 @@ fn validate_config(cfg: &ConfigItems) -> Result<(), Error> { | 
			
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     if cfg.invitation_expiration_hours < 1 { |  |  |     if cfg.invitation_expiration_hours < 1 { | 
			
		
	
		
		
			
				
					
					|  |  |         err!("`INVITATION_EXPIRATION_HOURS` has a minimum size of 1") |  |  |         err!("`INVITATION_EXPIRATION_HOURS` has a minimum duration of 1 hour") | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					|  |  |     } |  |  |     } | 
			
		
	
		
		
			
				
					|  |  | 
 |  |  | 
 | 
			
		
	
		
		
			
				
					|  |  |     Ok(()) |  |  |     Ok(()) | 
			
		
	
	
		
		
			
				
					|  | 
 |