diff options
Diffstat (limited to 'internal/api/client/accounts/block.go')
-rw-r--r-- | internal/api/client/accounts/block.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/accounts/block.go b/internal/api/client/accounts/block.go index cfa452a5e..2cd7b5448 100644 --- a/internal/api/client/accounts/block.go +++ b/internal/api/client/accounts/block.go @@ -85,7 +85,7 @@ func (m *Module) AccountBlockPOSTHandler(c *gin.Context) { return } - relationship, errWithCode := m.processor.AccountBlockCreate(c.Request.Context(), authed, targetAcctID) + relationship, errWithCode := m.processor.Account().BlockCreate(c.Request.Context(), authed.Account, targetAcctID) if errWithCode != nil { apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1) return |