feat: add subscription plans. Add admin panel. Add password recovery
This commit is contained in:
12
apps/backend/src/modules/admin/features/get-account/route.ts
Normal file
12
apps/backend/src/modules/admin/features/get-account/route.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Hono } from 'hono';
|
||||
import { resultJson } from '@/http/problem-details';
|
||||
import { GetAccount } from './use-case';
|
||||
|
||||
const route = new Hono();
|
||||
|
||||
route.get('/accounts/:accountId', async (c) => {
|
||||
const result = await new GetAccount().execute(c.req.param('accountId'));
|
||||
return resultJson(c, result);
|
||||
});
|
||||
|
||||
export default route;
|
||||
Reference in New Issue
Block a user