Open 360disrupt opened 7 years ago
gfs.files.find(newFilter).toArray (err, files)-> #returns contentType instead of content_type
while gfs.createWriteStream(file) only accepts content_type not contentType and falls back to default value if contentType is submitted.
gfs.createWriteStream(file)
content_type
contentType
This requires mapping of param contentType to content_type in e.g. migrations
Expected behaviour: gfs.createWriteStream(file) accepts contentType.
while
gfs.createWriteStream(file)
only acceptscontent_type
notcontentType
and falls back to default value ifcontentType
is submitted.This requires mapping of param
contentType
tocontent_type
in e.g. migrationsExpected behaviour:
gfs.createWriteStream(file)
acceptscontentType
.