FIX: Use the username scrubber when generating the emails

This commit is contained in:
Robin Ward 2017-01-18 14:23:23 -05:00
parent 775b70227d
commit 8d4cff642e

View File

@ -47,7 +47,7 @@ class ImportScripts::JsonGeneric < ImportScripts::Base
id: username_for(u),
username: username_for(u),
name: u,
email: "#{u}@example.com",
email: "#{username_for(u)}@example.com",
created_at: Time.now
}
end