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; });