Add user bios to NodeBB importer

Add user bios to NodeBB importer

diff --git a/script/import_scripts/nodebb/nodebb.rb b/script/import_scripts/nodebb/nodebb.rb
index 2397c5a..adec5a7 100644
--- a/script/import_scripts/nodebb/nodebb.rb
+++ b/script/import_scripts/nodebb/nodebb.rb
@@ -15,7 +15,7 @@ class ImportScripts::NodeBB < ImportScripts::Base
     @client = adapter.new(
       host: "localhost",
       port: "6379",
-      db: 0
+      db: 14
     )
 
     load_merged_posts
@@ -150,6 +150,7 @@ class ImportScripts::NodeBB < ImportScripts::Base
         suspended_till: suspended_till,
         primary_group_id: group_id_from_imported_group_id(user["groupTitle"]),
         created_at: user["joindate"],
+        bio_raw: user["aboutme"],
         active: true,
         custom_fields: {
           import_pass: user["password"]

GitHub sha: 0db2846a

1 Like