Skip to content
Snippets Groups Projects
Commit 88e13a26 authored by Moritz Strohm's avatar Moritz Strohm
Browse files

fixed URL parameter when calling course/(course_id)/members, re #1429

Merge request studip/studip!980
parent ba22dda6
No related branches found
No related tags found
No related merge requests found
...@@ -165,9 +165,11 @@ class Resources ...@@ -165,9 +165,11 @@ class Resources
STUDIP.api.GET( STUDIP.api.GET(
`course/${course_id}/members`, `course/${course_id}/members`,
{ {
//The limit '0' results in a division by zero. data: {
//Hopefully, the limit is set to a value high enough: //The limit '0' results in a division by zero.
limit: 1000000 //Hopefully, the limit is set to a value high enough:
limit: 1000000
}
} }
).done(function(data) { ).done(function(data) {
for (var attribute in data.collection) { for (var attribute in data.collection) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment