Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Feb 25, 2024
1 parent b165577 commit e80195e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion playground/server/api/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default eventHandler(async () => {
// db.prepare('select * from todos where id = ?1').bind(1),
// ])

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

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

0 comments on commit e80195e

Please sign in to comment.