openedx / course-discovery

Service providing access to consolidated course and program metadata
https://edx-discovery.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
57 stars 173 forks source link

fix: use case insensitive check in populate exec ed command #4373

Closed DawoudSheraz closed 4 months ago

DawoudSheraz commented 4 months ago

PROD-4029

Description

websiteVisibility has 'Private' in API response but the code was checking against 'private'. The change makes the API value lower to avoid case sensitivity.