diff --git a/app/services/update_timeslices_course_wiki.rb b/app/services/update_timeslices_course_wiki.rb index eca4d54893..122da9738f 100644 --- a/app/services/update_timeslices_course_wiki.rb +++ b/app/services/update_timeslices_course_wiki.rb @@ -37,7 +37,7 @@ def remove_courses_wikis(wiki_ids) end def add_courses_wikis(wiki_ids) - wikis = Wiki.where(wiki_id: wiki_ids) + wikis = Wiki.where(id: wiki_ids) # Create course wiki timeslice records for new wikis @timeslice_manager.create_timeslices_for_new_course_wiki_records(wikis) end