Skip to content

Commit 4c3affc

Browse files
committed
SEBSERV-652 debug
1 parent 4adcf14 commit 4c3affc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/lms/impl/moodle/plugin/MoodlePluginCourseAccess.java

+1
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ private String getCoursePageFromMoodle(
509509

510510
// SEBSERV-652 mitigation (can be removed when Moodle bug is fixed
511511
if (responseBody == null) {
512+
attributes.remove(PARAM_SQL_CONDITIONS);
512513
attributes.add(PARAM_SQL_CONDITIONS, getSQLCondition(null, cutoffDate, filterDate));
513514
responseBody = restTemplate.callMoodleAPIFunction(COURSES_API_FUNCTION_NAME, attributes);
514515
}

0 commit comments

Comments
 (0)