Fix feed generation cursor split (#16)
This commit is contained in:
parent
d93c993883
commit
531aab43b1
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ export default function (server: Server, ctx: AppContext) {
|
|||
.limit(params.limit)
|
||||
|
||||
if (params.cursor) {
|
||||
const [indexedAt, cid] = params.cursor.split('..')
|
||||
const [indexedAt, cid] = params.cursor.split('::')
|
||||
if (!indexedAt || !cid) {
|
||||
throw new InvalidRequestError('malformed cursor')
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue