Skip to content

Commit

Permalink
does this fix the error
Browse files Browse the repository at this point in the history
  • Loading branch information
zawan-ila committed Apr 19, 2024
1 parent 5768006 commit 84633ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course_discovery/apps/course_metadata/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -2681,7 +2681,7 @@ def update_or_create_restriction(self, restriction_type):
'restriction_type': restriction_type,
}
)
self.refresh_from_db(fields={'restricted_run'})
self.refresh_from_db()

def update_or_create_official_version(self, notify_services=True):
draft_version = CourseRun.everything.get(pk=self.pk)
Expand Down

0 comments on commit 84633ac

Please sign in to comment.