File size: 369 Bytes
20b4530 | 1 2 3 4 5 6 7 8 9 10 | import { asyncHandler } from '../../common/middleware/asyncHandler.js';
import { ok } from '../../common/utils/response.js';
import { receptionRepository } from './reception.repository.js';
export const receptionController = {
dashboard: asyncHandler(async (req, res) => {
ok(res, await receptionRepository.dashboard(req.gymId), 'Reception dashboard');
}),
};
|