diff --git a/lib/modules/datasource/conan/index.ts b/lib/modules/datasource/conan/index.ts index 8ecb40124792bb..6382c5070cffb6 100644 --- a/lib/modules/datasource/conan/index.ts +++ b/lib/modules/datasource/conan/index.ts @@ -88,7 +88,7 @@ export class ConanDatasource extends Datasource { const conanPackage = getConanPackage(packageName); const revisionLookUp = joinUrlParts( url, - 'v2/conans/', + 'v1/conans/', conanPackage.conanName, newValue, conanPackage.userAndChannel, @@ -131,7 +131,7 @@ export class ConanDatasource extends Datasource { const url = ensureTrailingSlash(registryUrl); const lookupUrl = joinUrlParts( url, - `v2/conans/search?q=${conanPackage.conanName}`, + `v1/conans/search?q=${conanPackage.conanName}`, ); try { @@ -180,7 +180,7 @@ export class ConanDatasource extends Datasource { const latestRevisionUrl = joinUrlParts( url, - `v2/conans/${conanPackage.conanName}/${latestVersion}/${conanPackage.userAndChannel}/latest`, + `v1/conans/${conanPackage.conanName}/${latestVersion}/${conanPackage.userAndChannel}/latest`, ); const revResp = await this.http.getJson(latestRevisionUrl);