diff --git a/pkg/timeline/postgres.go b/pkg/timeline/postgres.go index 367a688..8cfc38e 100644 --- a/pkg/timeline/postgres.go +++ b/pkg/timeline/postgres.go @@ -147,7 +147,7 @@ WHERE "channel_id" = $1 last = publishedAt item.Read = isRead == 1 - item.ID = strconv.Itoa(id) + item.ID = uid item.Published = publishedAt tl.Items = append(tl.Items, item)