- Added city, state, and country optional fields to Complex model - Updated onboarding to include optional location fields - Created new settings page with sidebar navigation (Datos del Complejo, Canchas) - Replaced ESLint with Biome for frontend and backend linting - Added parallel dev script with concurrently - Migrated register-routes to use direct app.route() pattern
9 lines
285 B
TypeScript
9 lines
285 B
TypeScript
import { getUserProfile } from '@/modules/user/services/user.service';
|
|
import type { AppContext } from '@/types/hono';
|
|
|
|
export function getUserProfileHandler(c: AppContext) {
|
|
const authUser = c.get('authUser');
|
|
const profile = getUserProfile(authUser);
|
|
return c.json(profile);
|
|
}
|