From 531aab43b155c7c64303ab5adec28b4881305b67 Mon Sep 17 00:00:00 2001 From: Cloudhunter Date: Mon, 15 May 2023 18:27:13 +0100 Subject: [PATCH] Fix feed generation cursor split (#16) --- src/feed-generation.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feed-generation.ts b/src/feed-generation.ts index f877f1a..e5c0578 100644 --- a/src/feed-generation.ts +++ b/src/feed-generation.ts @@ -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') }