Skip to content

Commit b843135

Browse files
authored
Merge pull request #5545 from decentraland/hotfix/2023-08-02
hotfix: fixed places url form zone to org for search endpoint
2 parents 0e352e5 + 80ec0cb commit b843135

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unity-renderer/Assets/DCLServices/PlacesAPIService/PlacesAPIClient.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public PlacesAPIClient(IWebRequestController webRequestController)
3737

3838
public async UniTask<IHotScenesController.PlacesAPIResponse> SearchPlaces(string searchString, int pageNumber, int pageSize, CancellationToken ct)
3939
{
40-
const string URL = BASE_URL_ZONE + "?with_realms_detail=true&search={0}&offset={1}&limit={2}";
40+
const string URL = BASE_URL + "?with_realms_detail=true&search={0}&offset={1}&limit={2}";
4141
var result = await webRequestController.GetAsync(string.Format(URL, searchString.Replace(" ", "+"), pageNumber * pageSize, pageSize), cancellationToken: ct);
4242

4343
if (result.result != UnityWebRequest.Result.Success)

0 commit comments

Comments
 (0)