Commit ebf8b726 authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Merge branch 'hotfix' into 'master'

Let API deal with empty json quantities.

See merge request !1
parents dfadeb45 b39e8304
......@@ -22,7 +22,10 @@ _default_per_page = 25
# transforms
def json_str(value):
return json.loads(value)
if value is None or value == '':
return None
return json.loads(value)
def int_id(value):
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment