diff options
| author | Kit Langton <[email protected]> | 2026-04-15 22:01:53 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-04-16 02:01:53 +0000 |
| commit | cce05c16658a39d091f658bdb53dcce1e88c66d0 (patch) | |
| tree | bedd5e0c1d9105854e4dbf8ec0c6f7e1337df4c6 /packages/function | |
| parent | 34213d444681a8953c5693bd01dd754c4e79a30b (diff) | |
| download | opencode-cce05c16658a39d091f658bdb53dcce1e88c66d0.tar.gz opencode-cce05c16658a39d091f658bdb53dcce1e88c66d0.zip | |
fix: clean up 49 unused variables, catch params, and stale imports (#22695)
Diffstat (limited to 'packages/function')
| -rw-r--r-- | packages/function/src/api.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/function/src/api.ts b/packages/function/src/api.ts index 4d8b295ec..68b2d450b 100644 --- a/packages/function/src/api.ts +++ b/packages/function/src/api.ts @@ -181,7 +181,7 @@ export default new Hono<{ Bindings: Env }>() let info const messages: Record<string, any> = {} data.forEach((d) => { - const [root, type, ...splits] = d.key.split("/") + const [root, type] = d.key.split("/") if (root !== "session") return if (type === "info") { info = d.content |
