summaryrefslogtreecommitdiff
path: root/internal/processing/report/create.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/report/create.go')
-rw-r--r--internal/processing/report/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/report/create.go b/internal/processing/report/create.go
index 48f9c1ee4..c65ae0d52 100644
--- a/internal/processing/report/create.go
+++ b/internal/processing/report/create.go
@@ -99,7 +99,7 @@ func (p *Processor) Create(ctx context.Context, account *gtsmodel.Account, form
TargetAccount: targetAccount,
})
- apiReport, err := p.tc.ReportToAPIReport(ctx, report)
+ apiReport, err := p.converter.ReportToAPIReport(ctx, report)
if err != nil {
err = fmt.Errorf("error converting report to frontend representation: %w", err)
return nil, gtserror.NewErrorInternalError(err)