chore: update middleware and sync kv methods

This commit is contained in:
ExplodingDragon
2026-01-31 20:34:41 +08:00
parent 06704d20f2
commit 1aec59bfad
3 changed files with 4 additions and 4 deletions

View File

@@ -64,7 +64,7 @@ func kvResult(db kv.KV) func(ctx core.FilterContext, jsCtx *goja.Runtime, group
if limit <= 0 {
limit = 100
}
list, err := db.CursorList(ctx, &kv.ListOptions{
list, err := db.ListCurrentCursor(ctx, &kv.ListOptions{
Limit: limit,
Cursor: cursor,
})