summaryrefslogtreecommitdiff
path: root/internal/processing/account/getstatuses.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/account/getstatuses.go')
-rw-r--r--internal/processing/account/getstatuses.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/account/getstatuses.go b/internal/processing/account/getstatuses.go
index dc157e43c..56b5b0eae 100644
--- a/internal/processing/account/getstatuses.go
+++ b/internal/processing/account/getstatuses.go
@@ -51,9 +51,9 @@ func (p *processor) StatusesGet(ctx context.Context, requestingAccount *gtsmodel
continue
}
- apiStatus, err := p.tc.StatusToMasto(ctx, s, requestingAccount)
+ apiStatus, err := p.tc.StatusToAPIStatus(ctx, s, requestingAccount)
if err != nil {
- return nil, gtserror.NewErrorInternalError(fmt.Errorf("error converting status to masto: %s", err))
+ return nil, gtserror.NewErrorInternalError(fmt.Errorf("error converting status to api: %s", err))
}
apiStatuses = append(apiStatuses, *apiStatus)