fix(speedtest): another pydantic fix

This commit is contained in:
Seaswimmer 2024-05-25 17:58:22 -04:00
parent 418eeb983c
commit d557928fee
Signed by: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

@ -62,11 +62,11 @@ class Server(BaseModel):
port: int port: int
ip: str ip: str
class Result: class Result(BaseModel):
id: str id: str
url: str url: str
persisted: bool persisted: bool
@property @property
def image(self): def image(self) -> str:
return self.url + ".png" return self.url + ".png"