From fe40be752febdf5ec1f9f49e13ed472195610114 Mon Sep 17 00:00:00 2001 From: Dan Funk Date: Fri, 3 Apr 2020 13:52:12 -0400 Subject: [PATCH] fixing a bug in the Protocol builder schema, more to fix there, and deserves a test, but this corrects the investigators --- crc/models/protocol_builder.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/models/protocol_builder.py b/crc/models/protocol_builder.py index a454fe81..0bf6cbec 100644 --- a/crc/models/protocol_builder.py +++ b/crc/models/protocol_builder.py @@ -59,6 +59,7 @@ class ProtocolBuilderInvestigatorSchema(ma.Schema): class Meta: model = ProtocolBuilderInvestigator unknown = INCLUDE + fields = ["NETBADGEID", "INVESTIGATORTYPE", "INVESTIGATORTYPEFULL"] @post_load def make_inv(self, data, **kwargs):