summaryrefslogtreecommitdiff
path: root/internal/processing/media/getmedia.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/processing/media/getmedia.go')
-rw-r--r--internal/processing/media/getmedia.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/media/getmedia.go b/internal/processing/media/getmedia.go
index e815e8bcf..8f5b9d740 100644
--- a/internal/processing/media/getmedia.go
+++ b/internal/processing/media/getmedia.go
@@ -42,7 +42,7 @@ func (p *Processor) Get(ctx context.Context, account *gtsmodel.Account, mediaAtt
return nil, gtserror.NewErrorNotFound(errors.New("attachment not owned by requesting account"))
}
- a, err := p.tc.AttachmentToAPIAttachment(ctx, attachment)
+ a, err := p.converter.AttachmentToAPIAttachment(ctx, attachment)
if err != nil {
return nil, gtserror.NewErrorNotFound(fmt.Errorf("error converting attachment: %s", err))
}