Skip to content

Commit eefa2cc

Browse files
drew-grossflovilmart
authored andcommitted
Handle "bytes" type in DB. Fixes #1821. (#1866)
1 parent fab8cfd commit eefa2cc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Adapters/Storage/Mongo/MongoSchemaCollection.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ function mongoFieldToParseSchemaField(type) {
2525
case 'array': return {type: 'Array'};
2626
case 'geopoint': return {type: 'GeoPoint'};
2727
case 'file': return {type: 'File'};
28+
case 'bytes': return {type: 'Bytes'};
2829
}
2930
}
3031

0 commit comments

Comments
 (0)