fixed ts checker

This commit is contained in:
DJ2LS 2024-02-07 23:33:33 +01:00
parent e658de3811
commit 526911b54f
3 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,8 @@
<script setup lang="ts">
// @ts-nocheck
// disable typescript check beacuse of error with beacon histogram options
import chat_conversations from "./chat_conversations.vue";
import chat_messages from "./chat_messages.vue";
import chat_new_message from "./chat_new_message.vue";

View file

@ -5,7 +5,6 @@ setActivePinia(pinia);
import { useChatStore } from "../store/chatStore.js";
import { getBeaconDataByCallsign } from "../js/api.js";
import { startChatWithNewStation } from "../js/chatHandler";
import { ref, computed } from "vue";
@ -45,8 +44,6 @@ function newChat() {
let callsign = this.newChatCall.value;
callsign = callsign.toUpperCase().trim();
if (callsign === "") return;
//startChatWithNewStation(callsign);
//updateAllChat(false);
this.newChatCall.value = "";
}

View file

@ -244,9 +244,9 @@ def get_post_radio():
def get_post_freedata_message():
if request.method in ['GET']:
result = DatabaseManagerMessages(app.event_manager).get_all_messages_json()
return api_response(result)
return api_response(result, 200)
if enqueue_tx_command(command_message_send.SendMessageCommand, request.json):
return api_response(request.json)
return api_response(request.json, 200)
else:
api_abort('Error executing command...', 500)