diff options
| author | Paul Buetow <paul@buetow.org> | 2024-10-24 10:36:17 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2024-10-24 10:36:17 +0300 |
| commit | 8b4cd3d9d2af89efdb9b0225742d70edc3483bf4 (patch) | |
| tree | 6d373a5fc902e766d10eab52f44d2419c14baa1f /internal/platforms/mastodon | |
| parent | 9a68ca0461bdf6d093213a218fbf255678018a16 (diff) | |
refactor
Diffstat (limited to 'internal/platforms/mastodon')
| -rw-r--r-- | internal/platforms/mastodon/mastodon.go | 2 |
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 } |
