mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Fix ping API endpoint and caller
This commit is contained in:
parent
477c93570c
commit
4a650e66c1
2 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
|
@ -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])
|
||||
|
|
Loading…
Reference in a new issue