config: fix camelCase
This commit is contained in:
		
							parent
							
								
									320c16743d
								
							
						
					
					
						commit
						b6a5be74cf
					
				@ -42,10 +42,10 @@ smtp:
 | 
			
		||||
    port: # example: 25
 | 
			
		||||
    user: # example: bot
 | 
			
		||||
    pass: # example: groovy123
 | 
			
		||||
    # host can be left empty, in which case it is recommended to fill contactEmail.
 | 
			
		||||
    # host can be left empty, in which case it is recommended to fill contact_email.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
contactEmail: # example: bob@example.com. Meant for manual password reset procedures
 | 
			
		||||
contact_email: # example: bob@example.com. Meant for manual password reset procedures
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
# used for reverse image search
 | 
			
		||||
 | 
			
		||||
@ -42,7 +42,7 @@ def get_info(
 | 
			
		||||
            'tagCategoryNameRegex': config.config['tag_category_name_regex'],
 | 
			
		||||
            'defaultUserRank': config.config['default_rank'],
 | 
			
		||||
            'enableSafety': config.config['enable_safety'],
 | 
			
		||||
            'contactEmail': config.config['contactEmail'],
 | 
			
		||||
            'contactEmail': config.config['contact_email'],
 | 
			
		||||
            'canSendMails': bool(config.config['smtp']['host']),
 | 
			
		||||
            'privileges':
 | 
			
		||||
                util.snake_case_to_lower_camel_case_keys(
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user