Skip to content

Commit

Permalink
Merge pull request #90 from clober-dex/fix/subgraph-return
Browse files Browse the repository at this point in the history
fix: fix return book when use subgraph
  • Loading branch information
graykode authored Aug 14, 2024
2 parents 80855c4 + 8de07d4 commit 6a8c2a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@clober/v2-sdk",
"version": "0.0.60.dev",
"version": "0.0.60",
"description": "🛠 An SDK for building applications on top of Clober V2",
"files": [
"dist"
Expand Down
2 changes: 1 addition & 1 deletion src/apis/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const getBook = async (
const {
data: { book },
} = await fetchBookFromSubgraph(chainId, bookId.toString())
new Book({
return new Book({
chainId,
id: bookId,
base: baseCurrency,
Expand Down

0 comments on commit 6a8c2a9

Please sign in to comment.