diff options
author | 2021-12-28 16:36:00 +0100 | |
---|---|---|
committer | 2021-12-28 16:36:00 +0100 | |
commit | c4d63d125b5a44c150a00b0b20b3638cad9221f8 (patch) | |
tree | 03230f6e34068fb30a8db9dd9a4c3db1f4e04f9b /internal/processing/media/create.go | |
parent | start refactor of media package (diff) | |
download | gotosocial-c4d63d125b5a44c150a00b0b20b3638cad9221f8.tar.xz |
more refactoring, media handler => manager
Diffstat (limited to 'internal/processing/media/create.go')
-rw-r--r-- | internal/processing/media/create.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/processing/media/create.go b/internal/processing/media/create.go index de15d3162..68a011683 100644 --- a/internal/processing/media/create.go +++ b/internal/processing/media/create.go @@ -65,8 +65,8 @@ func (p *processor) Create(ctx context.Context, account *gtsmodel.Account, form }, } - // allow the mediaHandler to work its magic of processing the attachment bytes, and putting them in whatever storage backend we're using - attachment, err := p.mediaHandler.ProcessAttachment(ctx, buf.Bytes(), minAttachment) + // allow the mediaManager to work its magic of processing the attachment bytes, and putting them in whatever storage backend we're using + attachment, err := p.mediaManager.ProcessAttachment(ctx, buf.Bytes(), minAttachment) if err != nil { return nil, fmt.Errorf("error reading attachment: %s", err) } |