MOBILE-3320 assign: Fix Moodle database error when grading

main
Dani Palou 2021-06-30 07:39:50 +02:00
parent fba4a63741
commit b36051d5d0
1 changed files with 2 additions and 0 deletions

View File

@ -1377,6 +1377,8 @@ export class AddonModAssignProvider {
// The WebService returned warnings, reject.
throw new CoreWSError(warnings[0]);
}
return;
}
// WS not available, fallback to save_grade.