From 410db59dc898ea375de69e71a3dae43c3f06bd81 Mon Sep 17 00:00:00 2001 From: scott lindh Date: Mon, 19 Feb 2018 17:43:25 +1100 Subject: [PATCH] Copy and paste fix for README Copy and paste fix for README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 7b8eb21..2ee8db3 100644 --- a/README.md +++ b/README.md @@ -23,13 +23,13 @@ Follow the codes below to create a config object: var config = { fields: [], // {array} data to import db: 'name', // {string} name of db - collection: 'collection' // {string|function} name of collection, or use a function to + collection: 'collection', // {string|function} name of collection, or use a function to // return a name, accept one param - [fields] the fields to import // they're options host: 'localhost:27017', // {string} [optional] by default is 27017 username: 'sofish', // {string} [optional] - password: '***' // {string} [optional] + password: '***', // {string} [optional] callback: (err, db) => {} // {function} [optional] }; ```