From 39327f6b4a32d81be8e54ee2e918050a55a8cf1a Mon Sep 17 00:00:00 2001 From: Matt Owens Date: Sun, 2 Oct 2022 16:47:38 -0400 Subject: [PATCH] remove extra w.WriteHeader call (#2158) --- controllers/auth/fediverse/fediverse.go | 1 - 1 file changed, 1 deletion(-) diff --git a/controllers/auth/fediverse/fediverse.go b/controllers/auth/fediverse/fediverse.go index e4533ddcc..51e70dfb6 100644 --- a/controllers/auth/fediverse/fediverse.go +++ b/controllers/auth/fediverse/fediverse.go @@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) { } controllers.WriteSimpleResponse(w, true, "") - w.WriteHeader(http.StatusOK) }