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,11 +2,9 @@ import BaseController from "./baseController.js";
const SERVICE_NAME = "JobQueueController";
class JobQueueController extends BaseController {
constructor({ jobQueue, stringService, errorService }) {
super();
constructor(commonDependencies, { jobQueue }) {
super(commonDependencies);
this.jobQueue = jobQueue;
this.stringService = stringService;
this.errorService = errorService;
}
getMetrics = this.asyncHandler(