refactor /auth/me into /me
This commit is contained in:
1 parent
4b92b2a8df
commit
1a2d11e6de
14 files changed
+226
-110
No files matched your search
@@ -18,6 +18,7 @@ import {
|
||||
StripeController,
|
||||
BillingController,
|
||||
} from "@/controllers/index.js";
|
||||
import MeController from "@/controllers/MeController.js";
|
||||
|
||||
export const initControllers = (services: any) => {
|
||||
const controllers: Record<string, any> = {};
|
||||
@@ -80,6 +81,7 @@ export const initControllers = (services: any) => {
|
||||
controllers.billingController = new BillingController(
|
||||
services.billingService
|
||||
);
|
||||
controllers.meController = new MeController(services.meService);
|
||||
|
||||
return controllers;
|
||||
};
|
||||
Reference in new issue
Block a user