Skip to content

Commit

Permalink
test merging
Browse files Browse the repository at this point in the history
  • Loading branch information
GFreitasW committed Dec 28, 2023
1 parent fe70dee commit 09266a2
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion api/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func (s *Server) handleGetRandomPhrase(w http.ResponseWriter, r *http.Request) {
"message": result,
}

// Use json.NewEncoder to encode the map and write it to the response writer
w.Header().Set("Content-Type", "application/json")
err := json.NewEncoder(w).Encode(response)
if err != nil {
Expand Down

0 comments on commit 09266a2

Please sign in to comment.