8000 chore: lint · nuxt-hub/core@e80195e · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit e80195e

Browse files
committed
chore: lint
1 parent b165577 commit e80195e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/server/api/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default eventHandler(async () => {
2323
// db.prepare('select * from todos where id = ?1').bind(1),
2424
// ])
2525

26-
return await useDatabase().exec('CREATE TABLE IF NOT EXISTS frameworks (id INTEGER PRIMARY KEY, name TEXT NOT NULL, year INTEGER NOT NULL DEFAULT 0)')
26+
return await db.exec('CREATE TABLE IF NOT EXISTS frameworks (id INTEGER PRIMARY KEY, name TEXT NOT NULL, year INTEGER NOT NULL DEFAULT 0)')
2727

2828
// return useProjectDatabase(projectUrl).all(sql`SELECT * from todos``)
2929
// return {}

0 commit comments

Comments
 (0)
0