diff options
| author | 2023-09-12 14:00:35 +0100 | |
|---|---|---|
| committer | 2023-09-12 14:00:35 +0100 | |
| commit | 7293d6029b43db693fd170c0c087394339da0677 (patch) | |
| tree | 09063243faf1b178fde35973486e311f66b1ca33 /internal/api/client/followrequests/reject.go | |
| parent | [feature] Allow admins to expire remote public keys; refetch expired keys on ... (diff) | |
| download | gotosocial-7293d6029b43db693fd170c0c087394339da0677.tar.xz | |
[feature] add paging to account follows, followers and follow requests endpoints (#2186)
Diffstat (limited to 'internal/api/client/followrequests/reject.go')
| -rw-r--r-- | internal/api/client/followrequests/reject.go | 2 |
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 |
