Last active
October 10, 2023 15:04
-
-
Save defong/c90f195744593f4282c0577d7c1303d0 to your computer and use it in GitHub Desktop.
[DfE] 2293-reinstate-withdrawn-course
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Please could Computing (3379) at Carmel College (1KF) have its withdrawal reverted | |
course = RecruitmentCycle.current.providers.find_by(provider_code: "1KF").courses.find_by(course_code: "3379") | |
course.enrichments.max_by(&:created_at).update(status: "published", last_published_timestamp_utc: Time.now.utc) | |
course.site_statuses.each do |site_status| | |
site_status.update(vac_status: :no_vacancies, status: :running) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment