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 c628cd6 commit e7317d2Copy full SHA for e7317d2
packages/ramps-controller/src/RampsController.ts
@@ -187,7 +187,7 @@ export class RampsController extends BaseController<
187
async getCountries(): Promise<void> {
188
const geolocation = await this.#getGeolocation();
189
const url = this.#getApiUrl(ApiService.Regions);
190
- const response = await fetch(`${url}/${geolocation}/countries`);
+ const response = await fetch(`${url}/countries/${geolocation}`);
191
const data = await response.json();
192
193
this.update((state) => {
0 commit comments