Refactor PPC to pull out reusable componenets.
This commit is contained in:
@@ -8,6 +8,7 @@ import ImportJob from "../decoder/decoder";
|
||||
import folderScan from "../decoder/folder-scan";
|
||||
import { handlePartsPariceChangeRequest } from "../ppc/ppc-handler";
|
||||
import { handleQuickBookRequest } from "../quickbooks-desktop/quickbooks-desktop";
|
||||
import { handleEMSPartsOrder } from "../ems-parts-order/ems-parts-order-handler";
|
||||
|
||||
export default class LocalServer {
|
||||
private app: express.Application;
|
||||
@@ -119,6 +120,7 @@ export default class LocalServer {
|
||||
return;
|
||||
});
|
||||
this.app.post("/ppc", handlePartsPariceChangeRequest);
|
||||
this.app.post("/oec", handleEMSPartsOrder);
|
||||
this.app.post(
|
||||
"/import",
|
||||
async (req: express.Request, res: express.Response) => {
|
||||
|
||||
Reference in New Issue
Block a user