Use uid as _id
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2021-10-31 19:35:24 +01:00
parent 198d18fe17
commit 145fdd8a79
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -147,7 +147,7 @@ WHERE "channel_id" = $1
last = publishedAt last = publishedAt
item.Read = isRead == 1 item.Read = isRead == 1
item.ID = strconv.Itoa(id) item.ID = uid
item.Published = publishedAt item.Published = publishedAt
tl.Items = append(tl.Items, item) tl.Items = append(tl.Items, item)