fixed bug

This commit is contained in:
Cayo Puigdefabregas 2020-10-09 11:35:16 +02:00
parent 382dd3373f
commit f257f192e6

View file

@ -10,7 +10,6 @@ from flask.json import jsonify
from teal.resource import Resource, View
from ereuse_devicehub.resources.inventory.model import Inventory
from ereuse_devicehub.resources.versions.schemas import Versions
from ereuse_devicehub import __version__
@ -40,8 +39,7 @@ class VersionView(View):
ret = jsonify(versions)
ret.status_code = 200
# return ret
return json.dumps(versions)
return ret
class VersionDef(Resource):