Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nakasyou authored Oct 1, 2023
1 parent eed48cd commit 2e4f3bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/admin/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const handler: Handlers<User | null> = {
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)
Expand Down

0 comments on commit 2e4f3bf

Please sign in to comment.