[CodeFactor] Apply fixes

This commit is contained in:
codefactor-io 2024-02-06 21:09:05 +00:00
parent d21100a14b
commit cb8d17d006
No known key found for this signature in database
GPG key ID: B66B2D63282C190F

View file

@ -38,8 +38,8 @@ function createCallsignListFromAPI(data: {
}): { [key: string]: { timestamp: string; body: string } } {
const callsignList: { [key: string]: { timestamp: string; body: string } } =
{};
if( typeof(data) == 'undefined'){
return callsignList
if (typeof data == "undefined") {
return callsignList;
}
data.messages.forEach((message) => {
let callsign =