Skip to content

Commit

Permalink
chore: One more unnecessary return
Browse files Browse the repository at this point in the history
  • Loading branch information
chelmertz committed Sep 25, 2024
1 parent c3c2b8d commit 2a042aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ func ServeWeb(url, username string, goldenTestingEnabled bool, store *storage.St
logger.Info("found a pr to turn into golden copy", "pr", foundPr)

w.WriteHeader(http.StatusOK)
return
})

http.HandleFunc("POST /api/v0/prs/{prUrl}/{action}", func(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 2a042aa

Please sign in to comment.