Browse Source

Update rest.service.ts

pull/16207/head
Mahmut Gundogdu 4 years ago
committed by GitHub
parent
commit
350be8414c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      npm/ng-packs/packages/core/src/lib/services/rest.service.ts

2
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 {

Loading…
Cancel
Save