Skip to content

Commit

Permalink
changed timespan to two in firms api request, added config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
Anastasiia-Svechnikova committed Feb 15, 2024
1 parent 38f9847 commit 521a268
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules/
/.angular
/dist
/.idea
/src/config/config.json
2 changes: 1 addition & 1 deletion src/app/services/firms-fires.services.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class FirmsFiresServices {


public getFirmsFiresData(): Observable<string> {
return this.http.get(`${environment.firmsNasaUrl}/${environment.firmsNasaApiKey}/VIIRS_SNPP_NRT/world/1`,
return this.http.get(`${environment.firmsNasaUrl}/${environment.firmsNasaApiKey}/VIIRS_SNPP_NRT/world/2`,
{
responseType: 'text'
});
Expand Down
3 changes: 3 additions & 0 deletions src/config/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"openAqApiKey": ""
}

0 comments on commit 521a268

Please sign in to comment.