mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 20:12:26 -05:00 
			
		
		
		
	[performance] http response encoding / writing improvements (#2374)
This commit is contained in:
		
					parent
					
						
							
								d7e35f6bc9
							
						
					
				
			
			
				commit
				
					
						74700cc803
					
				
			
		
					 104 changed files with 526 additions and 267 deletions
				
			
		|  | @ -116,5 +116,7 @@ func (m *Module) EmailTestPOSTHandler(c *gin.Context) { | |||
| 		return | ||||
| 	} | ||||
| 
 | ||||
| 	c.JSON(http.StatusAccepted, gin.H{"status": "test email sent"}) | ||||
| 	apiutil.JSON(c, http.StatusAccepted, map[string]string{ | ||||
| 		"status": "test email sent", | ||||
| 	}) | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue