mirror of
https://github.com/ArthurDanjou/website.git
synced 2026-01-14 12:14:42 +01:00
Working on oauth
This commit is contained in:
7
src/server/api/messages.get.ts
Normal file
7
src/server/api/messages.get.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default defineEventHandler(async () => {
|
||||
return await usePrisma().guestbookMessage.findMany({
|
||||
orderBy: {
|
||||
updatedAt: 'desc',
|
||||
},
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user