import express from 'express';
import { wrapAsync } from '@/api/http/request';
import * as personality_quiz_results from '@/api/controllers/personality_quiz_results.controller';

const router = express.Router();

router.get('/me', wrapAsync(personality_quiz_results.getCurrentUserResult));
router.put('/me', wrapAsync(personality_quiz_results.upsertCurrentUserResult));
router.get('/distribution', wrapAsync(personality_quiz_results.distribution));

export default router;
