From d9f033e1307d35f5b0d41be4617d7a6f648a0b18 Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Wed, 27 Nov 2024 21:48:46 +0100 Subject: [PATCH] fetching course videos: change query parameter to not retrieve metadata --- lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib.php b/lib.php index a59a462..32aa0be 100644 --- a/lib.php +++ b/lib.php @@ -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);