Skip to content

Commit

Permalink
remove "exam" & "project" words from score reason
Browse files Browse the repository at this point in the history
  • Loading branch information
FreekBes committed Oct 10, 2024
1 parent 39076b8 commit 2cb7f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/hooks/projects_users.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const handleProjectsUserUpdateWebhook = async function(prisma: PrismaClie
return (res ? respondWebHookHandledStatus(prisma, webhookDeliveryId, res, WebhookHandledStatus.Skipped) : null);
}
const score = await handleFixedPointScore(prisma, fixedPointType, projectUser.id, userId, points,
`Validated ${fixedPointType.type} ${project.name} with ${projectUser.final_mark}%`);
`Validated ${project.name} with ${projectUser.final_mark}%`);
if (!score) {
console.warn("Refused or failed to create score, skipping...");
return (res ? respondWebHookHandledStatus(prisma, webhookDeliveryId, res, WebhookHandledStatus.Skipped) : null);
Expand Down

0 comments on commit 2cb7f73

Please sign in to comment.