mirror of
https://github.com/ArthurDanjou/arthome.git
synced 2026-01-29 18:50:26 +01:00
Working on arthome
This commit is contained in:
6
server/api/tabs/index.get.ts
Normal file
6
server/api/tabs/index.get.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export default defineEventHandler(async () => {
|
||||
return useDrizzle()
|
||||
.select()
|
||||
.from(tables.tabs)
|
||||
.orderBy(tables.tabs.id, 'desc')
|
||||
})
|
||||
Reference in New Issue
Block a user