summaryrefslogtreecommitdiff
path: root/internal/platforms/mastodon
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-24 10:36:17 +0300
committerPaul Buetow <paul@buetow.org>2024-10-24 10:36:17 +0300
commit8b4cd3d9d2af89efdb9b0225742d70edc3483bf4 (patch)
tree6d373a5fc902e766d10eab52f44d2419c14baa1f /internal/platforms/mastodon
parent9a68ca0461bdf6d093213a218fbf255678018a16 (diff)
refactor
Diffstat (limited to 'internal/platforms/mastodon')
-rw-r--r--internal/platforms/mastodon/mastodon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/platforms/mastodon/mastodon.go b/internal/platforms/mastodon/mastodon.go
index 3da32f4..42700e5 100644
--- a/internal/platforms/mastodon/mastodon.go
+++ b/internal/platforms/mastodon/mastodon.go
@@ -16,7 +16,7 @@ import (
)
func Post(ctx context.Context, args config.Args, sizeLimit int, ent entry.Entry) error {
- content, err := ent.ContentWithLimit(sizeLimit)
+ content, _, err := ent.ContentWithLimit(sizeLimit)
if err != nil {
return err
}