Comparing version 0.2.1-13 to 0.2.2-14
@@ -24,2 +24,9 @@ var mongodb = require("mongodb"); | ||
if(config && config.fileStorage){ | ||
var fileStorageConfig = config.fileStorage; | ||
for (var configKey in fileStorageConfig){ | ||
constants[configKey] = fileStorageConfig[configKey]; | ||
} | ||
} | ||
if(logger){ | ||
@@ -44,8 +51,3 @@ defaultLogger = logger; | ||
if(config && config.fileStorage){ | ||
var fileStorageConfig = config.fileStorage; | ||
for (var configKey in fileStorageConfig){ | ||
constants[configKey] = fileStorageConfig[configKey]; | ||
} | ||
} | ||
} | ||
@@ -52,0 +54,0 @@ |
{ | ||
"name": "fh-gridfs", | ||
"version": "0.2.1-13", | ||
"version": "0.2.2-14", | ||
"description": "Wrapper for file storage using gridfs for mongo databases.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,1 +0,1 @@ | ||
0.2.1-13 | ||
0.2.2-14 |
35490