summaryrefslogtreecommitdiff
path: root/internal/processing/status/boost.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/boost.go')
-rw-r--r--internal/processing/status/boost.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/status/boost.go b/internal/processing/status/boost.go
index 4276ca9fa..2ee6acd55 100644
--- a/internal/processing/status/boost.go
+++ b/internal/processing/status/boost.go
@@ -74,10 +74,10 @@ func (p *processor) Boost(ctx context.Context, requestingAccount *gtsmodel.Accou
}
// return the frontend representation of the new status to the submitter
- mastoStatus, err := p.tc.StatusToMasto(ctx, boostWrapperStatus, requestingAccount)
+ apiStatus, err := p.tc.StatusToAPIStatus(ctx, boostWrapperStatus, requestingAccount)
if err != nil {
return nil, gtserror.NewErrorInternalError(fmt.Errorf("error converting status %s to frontend representation: %s", targetStatus.ID, err))
}
- return mastoStatus, nil
+ return apiStatus, nil
}