mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-16 00:11:55 +00:00
Rename variable for consistency
This commit is contained in:
parent
c4be3466f2
commit
246d0366eb
@ -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>('FSMUpdate').subscribe((event) => {
|
||||
this.websocketService.observeAnchor<FSMUpdate>('FSMUpdate').subscribe((event) => {
|
||||
this.current_state = event.data.current_state;
|
||||
this.valid_transitions = event.data.valid_transitions;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user