Fix handling of legacy accounts that don't have collection type.
This commit is contained in:
@@ -88,7 +88,8 @@ class CollectionItemIn(CollectionItemCommon):
|
||||
|
||||
|
||||
class CollectionCommon(BaseModel):
|
||||
collectionType: bytes
|
||||
# FIXME: remove optional once we finish collection-type-migration
|
||||
collectionType: t.Optional[bytes]
|
||||
collectionKey: bytes
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user