Skip to content

Commit ca1c9cc

Browse files
drew-grossJeremyPlease
authored andcommitted
Handle "bytes" type in DB. Fixes parse-community#1821. (parse-community#1866)
1 parent 9cce85a commit ca1c9cc

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)