diff --git a/backend/logistics/logistics.dm.repost.route.ts b/backend/logistics/logistics.dm.repost.route.ts index 585a289..b9d8fd5 100644 --- a/backend/logistics/logistics.dm.repost.route.ts +++ b/backend/logistics/logistics.dm.repost.route.ts @@ -7,6 +7,7 @@ const r = Router(); r.post("/", requireAuth, async (req, res) => { let posting: any; + if (req.body.type !== "forecast" || req.body.type !== "orders") { return apiReturn(res, {