Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Lint checks

Matt Robertsbb947ddf1bc3
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
}