Skip to content

Commit

Permalink
fetching course videos: change query parameter to not retrieve metada…
Browse files Browse the repository at this point in the history
…ta (#34)
  • Loading branch information
bluetom authored Nov 27, 2024
1 parent 090b755 commit 35316b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ private function get_course_videos($courseid) {

$seriesfilter = "series:" . $seriesid;

$query = '/api/events?sign=true&withmetadata=true&withpublications=true&filter=' . urlencode($seriesfilter);
$query = '/api/events?sign=true&withmetadata=false&withpublications=true&filter=' . urlencode($seriesfilter);
try {
$api = new api($ocinstanceid);
$seriesvideos = $api->oc_get($query);
Expand Down

0 comments on commit 35316b9

Please sign in to comment.