mirror of
https://github.com/ArthurDanjou/artsite.git
synced 2026-01-27 22:55:28 +01:00
Add activity and stats
This commit is contained in:
4
server/api/activity.get.ts
Normal file
4
server/api/activity.get.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export default defineEventHandler(async (event) => {
|
||||
const config = useRuntimeConfig(event)
|
||||
return await $fetch(`https://api.lanyard.rest/v1/users/${config.discordUserId}`)
|
||||
})
|
||||
Reference in New Issue
Block a user