Show lock side

This commit is contained in:
Matthias 2022-04-24 11:51:33 +02:00
parent 4942d73693
commit b0a8bf3025
2 changed files with 2 additions and 0 deletions

View File

@ -1476,5 +1476,6 @@ class PairLock(_DECL_BASE):
'lock_end_timestamp': int(self.lock_end_time.replace(tzinfo=timezone.utc 'lock_end_timestamp': int(self.lock_end_time.replace(tzinfo=timezone.utc
).timestamp() * 1000), ).timestamp() * 1000),
'reason': self.reason, 'reason': self.reason,
'side': self.side,
'active': self.active, 'active': self.active,
} }

View File

@ -291,6 +291,7 @@ class LockModel(BaseModel):
lock_time: str lock_time: str
lock_timestamp: int lock_timestamp: int
pair: str pair: str
side: str
reason: str reason: str