Skip to content

Commit

Permalink
Release 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
elijaholmos committed Jan 5, 2023
2 parents 38dba9a + d3b7ccf commit 6e8c4df
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion classes/services/GradeService.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ export class GradeService {
const {
finalPoints,
finalComment,
id: gradeId,
assessment: { points, title, id: assessmentId },
metadata: {
courseCode,
Expand Down Expand Up @@ -134,7 +135,7 @@ export class GradeService {
{
type: 2,
style: 1,
custom_id: `$grade_${assessmentId}`,
custom_id: `$grade_${gradeId}`,
disabled: false,
label: 'Mark as Read',
emoji: {
Expand Down
2 changes: 1 addition & 1 deletion classes/services/HaloService.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export const generateUserConnectionEmbed = async function ({ uid: discord_uid })
* @param {Object} args.cookie The cookie object retrieved from Firebase
* @param {string} args.assessment_grade_id the ID of the `UserCourseClassAssessmentGrade` - only appears on submissions that have been graded
*
* This should be the `id` property on each object retrieved from `getAllGrades()`
* This should be the `id` property on each object retrieved from `getAllGrades()`, NOT the `id` of the `CourseClassAssessment`
* @returns {Promise<Object>} Acknowledgement response from the server
*/
export const acknowledgeGrade = async function ({ cookie, assessment_grade_id }) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "halo-discord-bot",
"version": "2.4.0",
"version": "2.4.1",
"author": "Elijah Olmos",
"license": "AGPL-3.0-only",
"main": "index.js",
Expand Down

0 comments on commit 6e8c4df

Please sign in to comment.