Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
cwrw committed Oct 20, 2024
1 parent e872ac4 commit a7f6eda
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/services/migration/migrators/contract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ def call
contract_template = ::ContractTemplate.find_or_initialize_by(ecf_id: ecf_contract.id)
contract_template.update!(ecf_contract.attributes.slice(*SHARED_ATTRIBUTES))

contract = ::Contract.find_or_initialize_by(
statement_id:,
course_id:,
)
# contract = ::Contract.find_or_initialize_by(
# statement_id:,
# course_id:,
# )

contract.update!(contract_template:)
# contract.update!(contract_template:)
end
end
end
Expand Down

0 comments on commit a7f6eda

Please sign in to comment.