From bb947ddf1bc30d1c8ee18077a218e0cd001dfc5e Mon Sep 17 00:00:00 2001 From: Matt Roberts Date: Thu, 17 Oct 2024 21:55:04 +0100 Subject: [PATCH] Lint checks --- app/services/sqlstore/postgres/comment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/sqlstore/postgres/comment.go b/app/services/sqlstore/postgres/comment.go index 3bbbf6f98..f2deb495b 100644 --- a/app/services/sqlstore/postgres/comment.go +++ b/app/services/sqlstore/postgres/comment.go @@ -37,7 +37,7 @@ func (c *dbComment) toModel(ctx context.Context) *entity.Comment { } if c.ReactionCounts.Valid { - json.Unmarshal([]byte(c.ReactionCounts.String), &comment.ReactionCounts) + _ = json.Unmarshal([]byte(c.ReactionCounts.String), &comment.ReactionCounts) } return comment }