Remove unnecessary parentheses and refactor bot messages

This commit is contained in:
R. Richard
2019-08-08 16:18:26 +02:00
parent 6e22e7efe9
commit 0b65b9f5f3
5 changed files with 16 additions and 13 deletions

View File

@ -16,7 +16,7 @@ export class ProcessLogService {
constructor(private webSocketService: WebSocketService) {
this.webSocketService.connect();
this.webSocketService.observeKey<ProcessLogMessage>('process.log.new').subscribe(
(message) => this.newLogsHandler(message)
message => this.newLogsHandler(message)
);
}