Mahmut Gundogdu
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
npm/ng-packs/packages/core/src/lib/services/rest.service.ts
|
|
|
@ -54,7 +54,7 @@ export class RestService { |
|
|
|
.pipe(catchError(err => (skipHandleError ? throwError(err) : this.handleError(err)))); |
|
|
|
} |
|
|
|
private getHttpClient(isExternal: boolean) { |
|
|
|
return isExternal ? this.http : this.externalHttp; |
|
|
|
return isExternal ? this.externalHttp : this.http; |
|
|
|
} |
|
|
|
|
|
|
|
private getParams(params: Rest.Params, encoder?: HttpParameterCodec): HttpParams { |
|
|
|
|