Skip to content

Commit

Permalink
Fix mark as failed missing argument (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
aydevworks authored Feb 12, 2024
1 parent 49c4c0e commit 3c02e74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ public function push_grade_to_sits(\stdClass $assessmentmapping, int $userid, in
return true;
}
} catch (\moodle_exception $e) {
$this->mark_push_as_failed(self::PUSH_GRADE, $assessmentmapping->id, $userid, $e);
$this->mark_push_as_failed(self::PUSH_GRADE, $assessmentmapping->id, $userid, $taskid, $e);
return false;
}

Expand Down

0 comments on commit 3c02e74

Please sign in to comment.