Skip to content

Commit b0573b8

Browse files
committed
1 hour = 20 bricks
1 parent 5372928 commit b0573b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/projects.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ export async function approveAdminReviewProject(adminId, projectId, input = {})
436436
throw new Error(`Cannot approve ${newTotalApprovedHours.toFixed(2)} total hours because only ${totalLoggedHours.toFixed(2)} hours are logged.`);
437437
}
438438

439-
const bricksDelta = Math.ceil(approvedHours * 10);
439+
const bricksDelta = approvedHours * 20;
440440
const reductionHours = Math.max(0, roundedHours(totalLoggedHours - newTotalApprovedHours));
441441
const newCumulativeBricks = Number(project.bricks_earned ?? 0) + bricksDelta;
442442

0 commit comments

Comments
 (0)