Skip to content

Commit

Permalink
chore: lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Supamiu committed Feb 20, 2020
1 parent a26247f commit 647e25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xivapi.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export class XivapiService {

protected request<T>(endpoint: string, params?: XivapiOptions): Observable<T> {
let queryParams: HttpParams = this.prepareQueryString(params);
let baseUrl = XivapiService.API_BASE_URL;
let baseUrl: string = XivapiService.API_BASE_URL;
if (params) {
if (params.baseUrl) {
baseUrl = params.baseUrl;
Expand All @@ -251,7 +251,7 @@ export class XivapiService {
if (params.hasOwnProperty(key)) {
queryParams.delete(key);
}
})
});
}
return this.doGet<any>(`${baseUrl}${endpoint}`, queryParams);
}
Expand Down

0 comments on commit 647e25c

Please sign in to comment.