@@ -15,7 +15,6 @@ export interface SubmissionScoringCompletionEmailDetails {
1515 memberId ?: string ;
1616 userId ?: string ;
1717 scoringStatus : ScoringCompletionStatus ;
18- aggregateExampleScore : number ;
1918 aggregateProvisionalScore : number ;
2019}
2120
@@ -78,7 +77,7 @@ export class ScoringCompletionEmailService {
7877 * Sends the completion email if the template is configured and this
7978 * submission has not already produced a successful notification.
8079 * @param token M2M token used for member-api-v6 and Bus API calls.
81- * @param details Submission, challenge, member, and score values for the email.
80+ * @param details Submission, challenge, member, status, and provisional score values for the email.
8281 * @returns Resolves after the email is sent, skipped, or marked failed.
8382 */
8483 async sendSubmissionScoringCompleteEmail (
@@ -460,7 +459,7 @@ export class ScoringCompletionEmailService {
460459
461460 /**
462461 * Builds the email payload expected by the `external.action.email` topic.
463- * @param details Submission, challenge, member, and score values.
462+ * @param details Submission, challenge, member, status, and provisional score values.
464463 * @param recipientEmail Email address to receive the notification.
465464 * @param memberHandle Resolved member handle for template data.
466465 * @param sendgridTemplateId SendGrid dynamic template ID.
@@ -487,7 +486,6 @@ export class ScoringCompletionEmailService {
487486 challengeUrl,
488487 challengeURL : challengeUrl ,
489488 scoringStatus : details . scoringStatus ,
490- aggregateExampleScore : details . aggregateExampleScore ,
491489 aggregateProvisionalScore : details . aggregateProvisionalScore ,
492490 } ,
493491 sendgrid_template_id : sendgridTemplateId ,
0 commit comments