Skip to content

Commit

Permalink
fix: in lookup
Browse files Browse the repository at this point in the history
  • Loading branch information
AfaqShuaib09 committed Feb 18, 2025
1 parent 0818cb4 commit 598ec8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion edxval/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,7 @@ def get_transcript_languages(course_id, provider_type):
"""
course_video_ids = CourseVideo.objects.filter(course_id=course_id).values_list('video__id')
transcript_languages = (
VideoTranscript.objects.filter(video__id_in=course_video_ids, provider=provider_type)
VideoTranscript.objects.filter(video__id__in=course_video_ids, provider=provider_type)
.values_list("language").distinct()
)
return list(transcript_languages)
Expand Down

0 comments on commit 598ec8e

Please sign in to comment.