Skip to content

Commit e276df3

Browse files
authored
remove blob check
Signed-off-by: Manuel <[email protected]>
1 parent 5c298b3 commit e276df3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/GridFSBucketStorageAdapter.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const getDataAsString = async (type, data, encoding = 'utf8') => {
3131
case 'string':
3232
return data.toString(encoding);
3333
case 'blob':
34-
return (typeof Blob !== 'undefined' && data instanceof Blob)
34+
return (data instanceof Blob)
3535
? await data.text(encoding) :
3636
data.toString(encoding);
3737
default:

0 commit comments

Comments
 (0)