fix ppm bug
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user