© 2026 Hedgehog Software, LLC
import type { H3Event } from 'h3' export default cachedEventHandler((event) => { const { user } = await requireUserSession(event) // from nuxt-auth-utils // call to db with user.id // ... }, { maxAge: 60 * 60, // 1 hour })
Join the Discord to ask follow-up questions and connect with the community
Nuxt Community Chat Server
31,632 Members