Skip to content

Commit

Permalink
Fix typo in people_employees
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomTannenbaum committed Jul 31, 2024
1 parent 54925b5 commit b5f1053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/domain/ptime/people_employees.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def update_person_data(person)
# rubocop:enable Metrics

def set_additional_attributes(person, ptime_employee)
ptime_employee_employed = ptime_employee[:attributes][:is_employeed]
ptime_employee_employed = ptime_employee[:attributes][:is_employed]
person.company = Company.find_by(name: ptime_employee_employed ? 'Firma' : 'Ex-Mitarbeiter')
ptime_employee_nationalities = ptime_employee[:attributes][:nationalities]
person.nationality = ptime_employee_nationalities[0]
Expand Down

0 comments on commit b5f1053

Please sign in to comment.