mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 06:42:25 -05:00 
			
		
		
		
	[bugfix] use correct key for PATCHing admin email (#1189)
This commit is contained in:
		
					parent
					
						
							
								927117d8e3
							
						
					
				
			
			
				commit
				
					
						8d581deb28
					
				
			
		
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -33,7 +33,10 @@ module.exports = function ({ apiCall, getChanges }) { | ||||||
| 
 | 
 | ||||||
| 					const update = getChanges(state, { | 					const update = getChanges(state, { | ||||||
| 						formKeys: ["title", "short_description", "description", "contact_account.username", "email", "terms", "thumbnail_description"], | 						formKeys: ["title", "short_description", "description", "contact_account.username", "email", "terms", "thumbnail_description"], | ||||||
| 						renamedKeys: {"contact_account.username": "contact_username"}, | 						renamedKeys: { | ||||||
|  | 							"email": "contact_email", | ||||||
|  | 							"contact_account.username": "contact_username" | ||||||
|  | 						}, | ||||||
| 						fileKeys: ["thumbnail"] | 						fileKeys: ["thumbnail"] | ||||||
| 					}); | 					}); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue