forked from mirrors/gecko-dev
Bug 1900699 - Update accuweather provider for WeatherFeed r=home-newtab-reviewers,thecount
Differential Revision: https://phabricator.services.mozilla.com/D212614
This commit is contained in:
parent
5c4d387874
commit
693b66cdfd
1 changed files with 3 additions and 3 deletions
|
|
@ -87,7 +87,7 @@ export class WeatherFeed {
|
|||
try {
|
||||
suggestions = await this.merino.fetch({
|
||||
query: weatherQuery || "",
|
||||
providers: weatherQuery ? ["accuweather_city"] : MERINO_PROVIDER,
|
||||
providers: MERINO_PROVIDER,
|
||||
timeoutMs: 7000,
|
||||
});
|
||||
} catch (error) {
|
||||
|
|
@ -185,8 +185,8 @@ export class WeatherFeed {
|
|||
const query = this.store.getState().Weather.locationSearchString;
|
||||
let response = await this.merino.fetch({
|
||||
query: query || "",
|
||||
providers: ["accuweather_city"],
|
||||
timeoutMs: 5000,
|
||||
providers: MERINO_PROVIDER,
|
||||
timeoutMs: 7000,
|
||||
otherParams: {
|
||||
request_type: "location",
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue