Issue-#850: Aquarius rest api

This commit is contained in:
Akshay 2022-02-23 17:55:56 +01:00
parent 26f7f29b37
commit cee06030d8
1 changed files with 5 additions and 3 deletions

View File

@ -180,6 +180,7 @@ exports.createPages = ({ graphql, actions }) => {
markdowns,
'provider'
)[0].node
await createRestApiPage(
createPage,
providerRestApi,
@ -327,7 +328,8 @@ const createRestApiPage = async (createPage, node, slug) => {
}
const getRestApiPageFromMarkdownList = (markdownList, string) => {
return markdownList.filter(({ node }) => {
return node.frontmatter.app === string && node.frontmatter.slug === 'API.md'
})
return markdownList.filter(
({ node }) =>
node.frontmatter.app === string && node.frontmatter.slug === 'API.md'
)
}