summaryrefslogtreecommitdiff
path: root/internal/processing/status/delete.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/delete.go')
-rw-r--r--internal/processing/status/delete.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/status/delete.go b/internal/processing/status/delete.go
index 5549e0329..261086bdb 100644
--- a/internal/processing/status/delete.go
+++ b/internal/processing/status/delete.go
@@ -45,7 +45,7 @@ func (p *Processor) Delete(ctx context.Context, requestingAccount *gtsmodel.Acco
}
// Parse the status to API model BEFORE deleting it.
- apiStatus, errWithCode := p.apiStatus(ctx, targetStatus, requestingAccount)
+ apiStatus, errWithCode := p.c.GetAPIStatus(ctx, requestingAccount, targetStatus)
if errWithCode != nil {
return nil, errWithCode
}