mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2025-06-28 23:35:12 +00:00
Improve FSMAware api
This commit is contained in:
@ -19,7 +19,7 @@ class FSMAware:
|
||||
self.fsm_event_log = []
|
||||
self._auth_key = KeyManager().auth_key
|
||||
|
||||
def update_fsm_data(self, message):
|
||||
def refresh_on_fsm_update(self, message):
|
||||
if message['key'] == 'fsm_update' and verify_message(self._auth_key, message):
|
||||
self._handle_fsm_update(message)
|
||||
return True
|
||||
|
Reference in New Issue
Block a user