summaryrefslogtreecommitdiff
path: root/internal/api/client/account/unfollow.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/account/unfollow.go')
-rw-r--r--internal/api/client/account/unfollow.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/account/unfollow.go b/internal/api/client/account/unfollow.go
index 84a558c65..7ac9697d5 100644
--- a/internal/api/client/account/unfollow.go
+++ b/internal/api/client/account/unfollow.go
@@ -75,7 +75,7 @@ func (m *Module) AccountUnfollowPOSTHandler(c *gin.Context) {
return
}
- relationship, errWithCode := m.processor.AccountFollowRemove(authed, targetAcctID)
+ relationship, errWithCode := m.processor.AccountFollowRemove(c.Request.Context(), authed, targetAcctID)
if errWithCode != nil {
l.Debug(errWithCode.Error())
c.JSON(errWithCode.Code(), gin.H{"error": errWithCode.Safe()})