From c929a56d2b0a916654cc138287b217bd6682b153 Mon Sep 17 00:00:00 2001 From: Ordis <134585663+OrdisPrime@users.noreply.github.com> Date: Sun, 4 Jun 2023 02:37:33 +0200 Subject: [PATCH] hit thumbs up and subscribe --- src/controllers/dynamic/aggregateSessionsController.ts | 3 ++- src/services/inventoryService.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/controllers/dynamic/aggregateSessionsController.ts b/src/controllers/dynamic/aggregateSessionsController.ts index e3c1659b..a12c8d40 100644 --- a/src/controllers/dynamic/aggregateSessionsController.ts +++ b/src/controllers/dynamic/aggregateSessionsController.ts @@ -1,7 +1,8 @@ import { RequestHandler } from "express"; +import aggregateSessions from "@/static/fixed_responses/aggregateSessions.json"; const aggregateSessionsController: RequestHandler = (_req, res) => { - res.json({}); + res.json(aggregateSessions); }; export { aggregateSessionsController }; diff --git a/src/services/inventoryService.ts b/src/services/inventoryService.ts index ce38d5b2..060aa5ff 100644 --- a/src/services/inventoryService.ts +++ b/src/services/inventoryService.ts @@ -1,5 +1,5 @@ import { Inventory } from "../models/inventoryModel"; -import new_inventory from "@/static/fixed_responses/new_inventory.json"; +import new_inventory from "@/static/fixed_responses/postTutorialInventory.json"; import config from "@/config.json"; import { Types } from "mongoose";