refactor out common dependenceis
This commit is contained in:
1 parent
ddf3e8251d
commit
dc321580c3
20 files changed
+170
-233
No files matched your search
@@ -4,11 +4,8 @@ import BaseController from "./baseController.js";
|
||||
const SERVICE_NAME = "statusPageController";
|
||||
|
||||
class StatusPageController extends BaseController {
|
||||
constructor({ db, stringService, errorService }) {
|
||||
super();
|
||||
this.db = db;
|
||||
this.stringService = stringService;
|
||||
this.errorService = errorService;
|
||||
constructor(commonDependencies) {
|
||||
super(commonDependencies);
|
||||
}
|
||||
|
||||
createStatusPage = this.asyncHandler(
|
||||
|
||||
Reference in new issue
Block a user