refactor out common dependenceis

This commit is contained in:
Alex Holliday committed 2025-07-25 10:16:29 -07:00
1 parent ddf3e8251d
commit dc321580c3
20 files changed
+170 -233

No files matched your search

+2 -4
View File
@@ -2,10 +2,8 @@ import BaseController from "./baseController.js";
const SERVICE_NAME = "LogController";
class LogController extends BaseController {
constructor({ logger, errorService }) {
super();
this.logger = logger;
this.errorService = errorService;
constructor(commonDependencies) {
super(commonDependencies);
}
getLogs = this.asyncHandler(