summaryrefslogtreecommitdiff
path: root/internal/api/client/statuses/statusdelete.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/client/statuses/statusdelete.go')
-rw-r--r--internal/api/client/statuses/statusdelete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/api/client/statuses/statusdelete.go b/internal/api/client/statuses/statusdelete.go
index 44241eeb2..1e9c11499 100644
--- a/internal/api/client/statuses/statusdelete.go
+++ b/internal/api/client/statuses/statusdelete.go
@@ -90,7 +90,7 @@ func (m *Module) StatusDELETEHandler(c *gin.Context) {
return
}
- apiStatus, errWithCode := m.processor.StatusDelete(c.Request.Context(), authed, targetStatusID)
+ apiStatus, errWithCode := m.processor.Status().Delete(c.Request.Context(), authed.Account, targetStatusID)
if errWithCode != nil {
apiutil.ErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return