fix(api): convert size to JSON
This commit is contained in:
parent
2123d42c45
commit
83992d9193
|
@ -37,7 +37,7 @@ def json_params(
|
||||||
json['border'] = border.tojson()
|
json['border'] = border.tojson()
|
||||||
size = size.add_border(border)
|
size = size.add_border(border)
|
||||||
|
|
||||||
json['size'] = size
|
json['size'] = size.tojson()
|
||||||
|
|
||||||
return json
|
return json
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue