mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 10:04:33 +02:00
fixed message parsing after api change
This commit is contained in:
parent
08c2b7809a
commit
4a6e87efd7
|
@ -23,9 +23,8 @@ interface Message {
|
|||
|
||||
export async function processFreedataMessages(data){
|
||||
if(typeof(data) != "undefined"){
|
||||
let jsondata = await JSON.parse(data);
|
||||
chatStore.callsign_list = createCallsignListFromAPI(jsondata)
|
||||
chatStore.sorted_chat_list = createSortedMessagesList(jsondata)
|
||||
chatStore.callsign_list = createCallsignListFromAPI(data)
|
||||
chatStore.sorted_chat_list = createSortedMessagesList(data)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue