From a0c48ecc0e989a4f1ca0f69fc3520b8a89f42367 Mon Sep 17 00:00:00 2001 From: Asaf Azulay Date: Fri, 19 May 2017 04:29:35 +0300 Subject: [PATCH] import --- bin/import_camps_data.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/import_camps_data.js b/bin/import_camps_data.js index f2cf43b34..efc870a87 100755 --- a/bin/import_camps_data.js +++ b/bin/import_camps_data.js @@ -103,12 +103,12 @@ function main(argv) { first_name = (full_name.length > 0) ? full_name[0] : ''; last_name = (full_name.length > 1) ? full_name.slice(1, full_name.length).join(" ") : ''; } - // let _user = { - // validated: false, - // email: email, - // created_at: (new Date()).toISOString().substring(0, 19).replace('T', ' '), - // updated_at: (new Date()).toISOString().substring(0, 19).replace('T', ' '), - // }; + let _user_rec = { + validated: false, + email: email, + created_at: (new Date()).toISOString().substring(0, 19).replace('T', ' '), + updated_at: (new Date()).toISOString().substring(0, 19).replace('T', ' '), + }; var _user_rec_add_field = function (key, value, default_value) { if (value) { _user_rec[key] = value;