summaryrefslogtreecommitdiff
path: root/internal/api/client/followrequests/reject.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/followrequests/reject.go')
-rw-r--r--internal/api/client/followrequests/reject.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/followrequests/reject.go b/internal/api/client/followrequests/reject.go
index 3f75facba..6514a615e 100644
--- a/internal/api/client/followrequests/reject.go
+++ b/internal/api/client/followrequests/reject.go
@@ -85,7 +85,7 @@ func (m *Module) FollowRequestRejectPOSTHandler(c *gin.Context) {
return
}
- relationship, errWithCode := m.processor.FollowRequestReject(c.Request.Context(), authed, originAccountID)
+ relationship, errWithCode := m.processor.Account().FollowRequestReject(c.Request.Context(), authed.Account, originAccountID)
if errWithCode != nil {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return