Import the Member.active flag from CORE API

This commit is contained in:
Lance Edgar 2023-06-06 11:45:35 -05:00
parent bfc52a6fb3
commit dde729b959

View file

@ -851,6 +851,7 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
'person_uuid', 'person_uuid',
'joined', 'joined',
'withdrew', 'withdrew',
'active',
] ]
# TODO: should make this configurable # TODO: should make this configurable
@ -932,4 +933,5 @@ class MemberImporter(FromCOREPOSAPI, corepos_importing.model.MemberImporter):
'person_uuid': person.uuid, 'person_uuid': person.uuid,
'joined': joined, 'joined': joined,
'withdrew': withdrew, 'withdrew': withdrew,
'active': not bool(withdrew),
} }