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 untrusted user: cswimr
GPG key ID: 5D671B5D03D65A7F

View file

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