Skip to content

Commit e7317d2

Browse files
committed
fix: patch url for new regions endpoint:
1 parent c628cd6 commit e7317d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/ramps-controller/src/RampsController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ export class RampsController extends BaseController<
187187
async getCountries(): Promise<void> {
188188
const geolocation = await this.#getGeolocation();
189189
const url = this.#getApiUrl(ApiService.Regions);
190-
const response = await fetch(`${url}/${geolocation}/countries`);
190+
const response = await fetch(`${url}/countries/${geolocation}`);
191191
const data = await response.json();
192192

193193
this.update((state) => {

0 commit comments

Comments
 (0)