Skip to content

Commit

Permalink
fix: request final grades
Browse files Browse the repository at this point in the history
  • Loading branch information
SzymonMrzyglod committed Feb 22, 2024
1 parent e503bae commit b56b003
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export const ClassRegister: React.FC = () => {
sticky
className="table-standalone"
request={async ({ group_id = groupOptions[0]?.value, full_name = '' }) => {
const finalGradesRes = await fetchGroupFinalGrades(group_id);
const finalGradesRes = await fetchGroupFinalGrades([group_id]);
const selectedGroup = groupOptions.find(({ value }) => value === group_id);
if (
!finalGradesRes.success ||
Expand Down

0 comments on commit b56b003

Please sign in to comment.