Convert to json

This commit is contained in:
Mashintime 2023-11-13 11:28:00 -05:00
parent 3aaf28cb3b
commit 9627f269fb

View file

@ -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";