summaryrefslogtreecommitdiff
path: root/internal/processing/status/fave.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/status/fave.go')
-rw-r--r--internal/processing/status/fave.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/processing/status/fave.go b/internal/processing/status/fave.go
index f3f10c43c..571e0715c 100644
--- a/internal/processing/status/fave.go
+++ b/internal/processing/status/fave.go
@@ -93,11 +93,11 @@ func (p *processor) Fave(ctx context.Context, requestingAccount *gtsmodel.Accoun
}
}
- // return the mastodon representation of the target status
- mastoStatus, err := p.tc.StatusToMasto(ctx, targetStatus, requestingAccount)
+ // return the apidon representation of the target status
+ apiStatus, err := p.tc.StatusToAPIStatus(ctx, targetStatus, 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
}