Skip to content

Commit

Permalink
Merge pull request #1 from loopsFreitag/test_merging
Browse files Browse the repository at this point in the history
test merging
  • Loading branch information
loopsFreitag authored Dec 28, 2023
2 parents fe70dee + 09266a2 commit 795d171
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 795d171

Please sign in to comment.