Skip to content

Commit

Permalink
Merge pull request #518 from dulithsenanayake/fix-api-product-server-…
Browse files Browse the repository at this point in the history
…url-issue

Get apiType from api object
  • Loading branch information
dulithsenanayake authored Nov 27, 2023
2 parents 7caede7 + f612c6f commit ebc8cac
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ const TryOutConsole = () => {
}
}, [publisherSettings]);

const isAPIProduct = api.type === 'APIPRODUCT';
const isAPIProduct = api.apiType === 'APIPRODUCT';
const isAdvertised = api.advertiseInfo && api.advertiseInfo.advertised;
const setServersSpec = (spec, serverUrl) => {
let schemes;
Expand Down

0 comments on commit ebc8cac

Please sign in to comment.