Fix ping API endpoint and caller

This commit is contained in:
Pedro 2023-11-18 18:14:23 +01:00
parent 477c93570c
commit 4a650e66c1
2 changed files with 2 additions and 2 deletions

View file

@ -65,7 +65,7 @@ export function sendModemCQ() {
}
export function sendModemPing(dxcall) {
return apiPost("/modem/ping", { dxcall: dxcall });
return apiPost("/modem/ping_ping", { dxcall: dxcall });
}
export function startModem() {

View file

@ -12,7 +12,7 @@ def cqcqcq():
def ping_ping(data):
try:
dxcallsign = data["dxcallsign"]
dxcallsign = data["dxcall"]
if not str(dxcallsign).strip():
return
DATA_QUEUE_TRANSMIT.put(["PING", None, dxcallsign])