From be6ef1101ffe11ed28aa99f131c7b0bde06f64f9 Mon Sep 17 00:00:00 2001 From: Lacey Pevey <7490308+pevey@users.noreply.github.com> Date: Tue, 16 May 2023 09:46:32 -0500 Subject: [PATCH] add relations to blog post GET endpoint --- src/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/index.ts b/src/api/index.ts index 1502a78..bfabf30 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -37,7 +37,7 @@ export default (rootDirectory: string): Router | Router[] => { }) }) - // GET A SINGLE BLOG CATEGORY BY HANDLE + // GET A BLOG CATEGORY BY HANDLE router.get("/store/blog/categories/:handle", cors(storeCorsOptions), async (req, res) => { const blogService = req.scope.resolve("blogService") blogService.getBlogCategoryByHandle(req.params.handle).then((blog_category) => {