mirror of
https://github.com/basicswap/basicswap.git
synced 2025-11-06 02:38:11 +01:00
api: Add include_sent offers filter.
This commit is contained in:
@@ -47,6 +47,8 @@ def ensure(v, err_string):
|
||||
|
||||
|
||||
def toBool(s) -> bool:
|
||||
if isinstance(s, bool):
|
||||
return s
|
||||
return s.lower() in ['1', 'true']
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user