mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-21 04:01:10 +10:00
feat: annotated client routes
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
import { defineClientEventHandler } from "~/server/internal/clients/event-handler";
|
||||
|
||||
/**
|
||||
* Fetch user data for this client
|
||||
*/
|
||||
export default defineClientEventHandler(async (h3, { fetchUser }) => {
|
||||
const user = await fetchUser();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user