Skip to content

Commit

Permalink
Imagebox3 update
Browse files Browse the repository at this point in the history
  • Loading branch information
PrafulB committed Nov 12, 2024
1 parent 3070f92 commit b886ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/wsi.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const createImagebox3Instance = async (imageSource) => {

export const getWSIInfo = async (imageURL) => {
await createImagebox3Instance(imageURL)
return (await imagebox3Instance.getInfo()).json()
return await imagebox3Instance.getInfo()
}

export const getPNGFromWSI = async (imageURL, maxDimension) => {
Expand Down

0 comments on commit b886ec5

Please sign in to comment.