Skip to content

Commit 95ce74d

Browse files
RandomTannenbaumManuelMoeri
authored andcommitted
Fix order of name interpolation in id mapper script
1 parent a207a11 commit 95ce74d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/domain/ptime/assign_employee_ids.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def map_employees(should_map)
2525

2626
@ptime_employees.each do |ptime_employee|
2727
ptime_employee_name =
28-
"#{ptime_employee[:attributes][:lastname]} #{ptime_employee[:attributes][:firstname]}"
28+
"#{ptime_employee[:attributes][:firstname]} #{ptime_employee[:attributes][:lastname]}"
2929
ptime_employee_email = ptime_employee[:attributes][:email]
3030
matched_person = Person.where(ptime_employee_id: nil).find_by(email: ptime_employee_email)
3131

0 commit comments

Comments
 (0)