mirror of
https://github.com/Such-Software/medusa-plugin-blog.git
synced 2026-10-17 05:32:06 +02:00
add relations to blog post GET endpoint
This commit is contained in:
+1
-1
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user