From 35316b92802177b210feeda7136532a442bded47 Mon Sep 17 00:00:00 2001 From: Thomas Niedermaier Date: Wed, 27 Nov 2024 22:07:32 +0100 Subject: [PATCH] fetching course videos: change query parameter to not retrieve metadata (#34) --- 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);