diff options
Diffstat (limited to 'activitypub/controllers/followers.go')
-rw-r--r-- | activitypub/controllers/followers.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activitypub/controllers/followers.go b/activitypub/controllers/followers.go index 22e60c6dc..11193f51a 100644 --- a/activitypub/controllers/followers.go +++ b/activitypub/controllers/followers.go @@ -25,7 +25,7 @@ const ( // FollowersHandler will return the list of remote followers on the Fediverse. func FollowersHandler(w http.ResponseWriter, r *http.Request) { - if r.Method != "GET" { + if r.Method != http.MethodGet { w.WriteHeader(http.StatusMethodNotAllowed) return } |