|
|
@ -46,6 +46,7 @@ class Admins::ImportUserService < ApplicationService
|
|
|
|
department = school.departments.find_by(name: data.department_name)
|
|
|
|
department = school.departments.find_by(name: data.department_name)
|
|
|
|
|
|
|
|
|
|
|
|
attr = {
|
|
|
|
attr = {
|
|
|
|
|
|
|
|
type: 'User',
|
|
|
|
status: User::STATUS_ACTIVE,
|
|
|
|
status: User::STATUS_ACTIVE,
|
|
|
|
login: "#{prefix}#{data.student_id}",
|
|
|
|
login: "#{prefix}#{data.student_id}",
|
|
|
|
firstname: '',
|
|
|
|
firstname: '',
|
|
|
|