Problem: Items call returns 10 Items, 20 is better

Solution: Items returns 20 items now
This commit is contained in:
Peter Stuifzand 2022-04-17 00:14:16 +02:00
parent 8adfb56274
commit 7da53da8e1
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -136,7 +136,7 @@ WHERE "channel_id" = $1
qb.WriteString(` AND "published_at" < $2`)
}
}
qb.WriteString(` ORDER BY "published_at" DESC LIMIT 10`)
qb.WriteString(` ORDER BY "published_at" DESC LIMIT 20`)
rows, err := conn.QueryContext(context.Background(), qb.String(), args...)
if err != nil {