remove extra w.WriteHeader call (#2158)
This commit is contained in:
@@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
controllers.WriteSimpleResponse(w, true, "")
|
controllers.WriteSimpleResponse(w, true, "")
|
||||||
w.WriteHeader(http.StatusOK)
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user