summaryrefslogtreecommitdiff
path: root/internal/processing/media/create.go
diff options
context:
space:
mode:
authorLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-10 18:36:09 +0100
committerLibravatar tsmethurst <tobi.smethurst@protonmail.com>2022-01-10 18:36:09 +0100
commite0f9323b9aa98b55f3557086f7b0a17047943f39 (patch)
tree5a2bbcb84b87d2530e804067d72c1bea672412a1 /internal/processing/media/create.go
parentadd async test (diff)
downloadgotosocial-e0f9323b9aa98b55f3557086f7b0a17047943f39.tar.xz
test the media manager a bit, add shutdown logic
Diffstat (limited to 'internal/processing/media/create.go')
-rw-r--r--internal/processing/media/create.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/processing/media/create.go b/internal/processing/media/create.go
index 093a3d2be..9df5c7c1f 100644
--- a/internal/processing/media/create.go
+++ b/internal/processing/media/create.go
@@ -60,7 +60,7 @@ func (p *processor) Create(ctx context.Context, account *gtsmodel.Account, form
return nil, err
}
- attachment, err := media.LoadAttachment(ctx)
+ attachment, err := media.Load(ctx)
if err != nil {
return nil, err
}