From 8cf685fbe949f11772b4901fe4e564e6be545864 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Wed, 17 Apr 2024 12:41:40 +0200 Subject: [bugfix] Fix minor API issue w/ boosted statuses (#2846) --- internal/typeutils/util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/typeutils/util.go') diff --git a/internal/typeutils/util.go b/internal/typeutils/util.go index 0b7516d3a..da4109f67 100644 --- a/internal/typeutils/util.go +++ b/internal/typeutils/util.go @@ -36,7 +36,7 @@ import ( ) type statusInteractions struct { - Faved bool + Favourited bool Muted bool Bookmarked bool Reblogged bool @@ -51,7 +51,7 @@ func (c *Converter) interactionsWithStatusForAccount(ctx context.Context, s *gts if err != nil { return nil, fmt.Errorf("error checking if requesting account has faved status: %s", err) } - si.Faved = faved + si.Favourited = faved reblogged, err := c.state.DB.IsStatusBoostedBy(ctx, s.ID, requestingAccount.ID) if err != nil { -- cgit v1.2.3