Browse Source

remove extra w.WriteHeader call (#2158)

pull/2164/head
Matt Owens 3 years ago committed by GitHub
parent
commit
39327f6b4a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      controllers/auth/fediverse/fediverse.go

1
controllers/auth/fediverse/fediverse.go

@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) { @@ -98,5 +98,4 @@ func VerifyFediverseOTPRequest(w http.ResponseWriter, r *http.Request) {
}
controllers.WriteSimpleResponse(w, true, "")
w.WriteHeader(http.StatusOK)
}

Loading…
Cancel
Save