Skip to content
This repository has been archived by the owner on Oct 28, 2020. It is now read-only.

Commit

Permalink
type + redundant log
Browse files Browse the repository at this point in the history
  • Loading branch information
ZimGil committed Nov 10, 2018
1 parent 6636299 commit 1c826ea
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion src/app/app.component.ts
Expand Up @@ -82,7 +82,6 @@ export class AppComponent implements OnInit {
}

keepAlive(): void {
console.log('keep alive sending');
this.subscription['TimedkeepAlive'] = timer(0, this.KEEP_ALIVE_INTERVAL)
.pipe(
exhaustMap(
Expand Down
2 changes: 1 addition & 1 deletion src/app/models/pop-up-error.interface.ts
Expand Up @@ -2,5 +2,5 @@ export interface PopUpError {
errorText: string;
errorDescription?: string;
handleFunction?: Function;
callingScop?: Object;
callingScope?: Object;
}
2 changes: 1 addition & 1 deletion src/app/services/error/error.service.ts
Expand Up @@ -26,7 +26,7 @@ export class ErrorService {

handleError(error: PopUpError): void {
if (error.handleFunction && typeof error.handleFunction === 'function') {
error.handleFunction.call(error.callingScop);
error.handleFunction.call(error.callingScope);
}
this.clearError(error);
}
Expand Down

0 comments on commit 1c826ea

Please sign in to comment.