Add Speedtest cog #28
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue