summaryrefslogtreecommitdiff
path: root/internal/api/s2s/user/followers.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/s2s/user/followers.go')
-rw-r--r--internal/api/s2s/user/followers.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/api/s2s/user/followers.go b/internal/api/s2s/user/followers.go
index 77c0e1307..675688311 100644
--- a/internal/api/s2s/user/followers.go
+++ b/internal/api/s2s/user/followers.go
@@ -48,6 +48,7 @@ func (m *Module) FollowersGETHandler(c *gin.Context) {
if format == string(api.TextHTML) {
// redirect to the user's profile
c.Redirect(http.StatusSeeOther, "/@"+requestedUsername)
+ return
}
resp, errWithCode := m.processor.GetFediFollowers(transferContext(c), requestedUsername, c.Request.URL)