Skip to content

Commit

Permalink
Include userId for individual reports button
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyel committed Mar 25, 2024
1 parent 299b234 commit 0429bfe
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/helpers/query/assignments.js
Original file line number Diff line number Diff line change
Expand Up @@ -893,7 +893,10 @@ export const assignmentPageFetcher = async (
const assignmentDoc = _find(scoredAssignments, { userId: userId });
const userDoc = _find(batchUserDocs, { userId: userId });
return {
user: userDoc.data,
user: {
...userDoc.data,
userId: userDoc.userId,
},
assignment: assignmentDoc.data,
};
} else {
Expand Down

0 comments on commit 0429bfe

Please sign in to comment.