Fix jwt-token
This commit is contained in:
@@ -67,9 +67,6 @@ class DroneDevice:
|
||||
lon: float
|
||||
category: str
|
||||
last_heartbeat: float = 0
|
||||
battery_level: int = 100
|
||||
signal_strength: int = -45
|
||||
temperature: float = 20.0
|
||||
status: str = "active"
|
||||
|
||||
@dataclass
|
||||
@@ -118,10 +115,7 @@ class SwedishDroneSimulator:
|
||||
location=location["name"],
|
||||
lat=location["lat"],
|
||||
lon=location["lon"],
|
||||
category=category,
|
||||
battery_level=random.randint(75, 100),
|
||||
signal_strength=random.randint(-60, -30),
|
||||
temperature=random.uniform(15, 30)
|
||||
category=category
|
||||
)
|
||||
devices.append(device)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user