We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8c6eed commit f90ed43Copy full SHA for f90ed43
src/elgato-cloud-data.cpp
@@ -296,8 +296,8 @@ nlohmann::json ElgatoCloud::GetPurchaseDownloadLink(std::string variantId)
296
}
297
298
auto api = MarketplaceApi::getInstance();
299
- std::string api_url = api->apiUrl();
300
- api_url += "/product/internal/variants/" + variantId + "/direct-link";
+ std::string api_url = api->gatewayUrl();
+ api_url += "/items/" + variantId + "/direct-link";
301
auto response = fetch_string_from_get(api_url, _accessToken);
302
// Todo- Error checking
303
try {
0 commit comments