api: Add include_sent offers filter.

This commit is contained in:
tecnovert
2023-01-11 10:28:57 +02:00
parent 9729dcf526
commit 553af1a3e8
7 changed files with 19 additions and 7 deletions

View File

@@ -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']