From 246d0366ebee4b269245f10ef5b4153da767eef8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A1lint=20Bokros?= Date: Thu, 1 Feb 2018 16:38:13 +0100 Subject: [PATCH] Rename variable for consistency --- src/app/fsmupdate.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/fsmupdate.service.ts b/src/app/fsmupdate.service.ts index 64a8fc6..2a107fd 100644 --- a/src/app/fsmupdate.service.ts +++ b/src/app/fsmupdate.service.ts @@ -13,10 +13,10 @@ export class FSMUpdateService { public current_state: string; public valid_transitions: object; - constructor(private websocketservice: WebSocketService) {} + constructor(private websocketService: WebSocketService) {} public init(): void { - this.websocketservice.observeAnchor('FSMUpdate').subscribe((event) => { + this.websocketService.observeAnchor('FSMUpdate').subscribe((event) => { this.current_state = event.data.current_state; this.valid_transitions = event.data.valid_transitions; });