From 2e4f3bf4033135c32ae6aca830bd893706e26611 Mon Sep 17 00:00:00 2001 From: Shotaro Nakamura <79000684+nakasyou@users.noreply.github.com> Date: Sun, 1 Oct 2023 12:57:37 +0900 Subject: [PATCH] fix --- routes/admin/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/admin/api/index.ts b/routes/admin/api/index.ts index cd11f51..ebb4ada 100644 --- a/routes/admin/api/index.ts +++ b/routes/admin/api/index.ts @@ -37,7 +37,7 @@ export const handler: Handlers = { case 'get_schools_data': { const result: Schools[] = [] - const entries = db.list({ prefix: ["schools"] }) // schools一覧をDBから取得 + const entries = kv.list({ prefix: ["schools"] }) // schools一覧をDBから取得 for await (const entry of entries) { const data = entry.value as Schools result.push(data)