mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Convert to json
This commit is contained in:
parent
3aaf28cb3b
commit
9627f269fb
1 changed files with 1 additions and 0 deletions
|
@ -23,6 +23,7 @@ export function connectionFailed(endpoint, event) {
|
|||
stateStore.modem_connection = "disconnected";
|
||||
}
|
||||
export function stateDispatcher(data) {
|
||||
data = JSON.parse(data);
|
||||
console.log(data);
|
||||
|
||||
stateStore.modem_connection = "connected";
|
||||
|
|
Loading…
Reference in a new issue