From 586ebb5059f2083901667cb1fe7c5c22cf9798ac Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Tue, 16 Aug 2022 20:50:26 +0200 Subject: return after redirects to web representation (#755) --- internal/api/s2s/user/repliesget.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/api/s2s/user/repliesget.go') diff --git a/internal/api/s2s/user/repliesget.go b/internal/api/s2s/user/repliesget.go index 6ef5a5f43..86a57e692 100644 --- a/internal/api/s2s/user/repliesget.go +++ b/internal/api/s2s/user/repliesget.go @@ -113,6 +113,7 @@ func (m *Module) StatusRepliesGETHandler(c *gin.Context) { if format == string(api.TextHTML) { // redirect to the status c.Redirect(http.StatusSeeOther, "/@"+requestedUsername+"/statuses/"+requestedStatusID) + return } var page bool -- cgit v1.2.3