remove unsued route/methods

This commit is contained in:
Alex Holliday committed 2026-03-11 14:08:20 -07:00
1 parent 61cc0c2bef
commit 1af609a569
3 files changed
+1 -14

No files matched your search

-12
View File
@@ -54,18 +54,6 @@ class JobQueueController {
}
};
addJob = async (req: Request, res: Response, next: NextFunction) => {
try {
await this.jobQueue.addJob(Math.random().toString(36).substring(7));
return res.status(200).json({
success: true,
msg: "Job added to queue successfully",
});
} catch (error) {
next(error);
}
};
flushQueue = async (req: Request, res: Response, next: NextFunction) => {
try {
const result = await this.jobQueue.flushQueues();