Merge pull request #931 from oceanprotocol/issue-921-api-references

V4: Ocean.js and Ocean.py api references
This commit is contained in:
Akshay 2022-03-30 10:51:21 +02:00 committed by GitHub
commit dd53d24550
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -193,10 +193,7 @@ exports.createPages = ({ graphql, actions }) => {
// API: ocean.js
const lastRelease =
result.data.oceanJs.repository.releases.edges.filter(
({ node }) =>
!node.isPrerelease &&
!node.isDraft &&
node.releaseAssets.edges.length > 0
({ node }) => !node.isDraft && node.releaseAssets.edges.length > 0
)[0].node.releaseAssets.edges[0].node
await createTypeDocPage(