Commit 85c461f4 authored by Hervé Ménager's avatar Hervé Ménager
Browse files

return properly serialized phenotypes to project submission/status

many thanks to @cnerin for catching that bug
parent 187de44c
......@@ -52,7 +52,7 @@ class ProjectStatusSchema(ma.Schema):
class ProjectSchema(ma.Schema):
id = ma.fields.String()
status = ma.fields.Nested(ProjectStatusSchema)
phenotypes = ma.fields.List(ma.fields.String())
phenotypes = ma.fields.List(ma.fields.Nested(PhenotypeSchema()))
progress = ma.fields.String()
......
Supports Markdown
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