fix ppm bug

This commit is contained in:
Logan
2026-05-23 18:22:47 -04:00
parent 35ce8e911e
commit 5a18a66d77
+2 -1
View File
@@ -1,4 +1,5 @@
import secrets import secrets
from typing import Optional
from fastapi import APIRouter, HTTPException, Depends, Query from fastapi import APIRouter, HTTPException, Depends, Query
from app.models import CommandPayload from app.models import CommandPayload
from app.internal import firestore as fstore from app.internal import firestore as fstore
@@ -97,7 +98,7 @@ async def assign_system(
node_id: str, node_id: str,
system_id: str, system_id: str,
hardware_preset: str = Query("rtl-sdr-v3"), hardware_preset: str = Query("rtl-sdr-v3"),
ppm_override: float = Query(None), ppm_override: Optional[float] = Query(None),
): ):
""" """
Assign a system to a node. Fetches the system config from Firestore Assign a system to a node. Fetches the system config from Firestore