Fix JSON marshaling bug
This commit is contained in:
		@@ -199,7 +199,7 @@ func main() {
 | 
			
		||||
			http.Error(w, result.Errors[0].Error(), 500)
 | 
			
		||||
			return
 | 
			
		||||
		}
 | 
			
		||||
		rJSON, _ := json.MarshalIndent(result, "", "  ")
 | 
			
		||||
		rJSON, _ := json.MarshalIndent(result.Data, "", "  ")
 | 
			
		||||
		w.Write(rJSON)
 | 
			
		||||
	})
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user