add relations to blog post GET endpoint

This commit is contained in:
Lacey Pevey
2023-05-16 09:46:32 -05:00
parent 0e110368f5
commit be6ef1101f
+1 -1
View File
@@ -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) => {