From 8b4cd3d9d2af89efdb9b0225742d70edc3483bf4 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 24 Oct 2024 10:36:17 +0300 Subject: refactor --- internal/platforms/mastodon/mastodon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/platforms/mastodon') 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 } -- cgit v1.2.3