Skip to content

Commit 9473882

Browse files
committed
Remove hard coded attendance code for testing
1 parent 440eb74 commit 9473882

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/commands/Checkin.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -302,8 +302,7 @@ export default class Checkin extends Command {
302302
context.shadowOffsetY = 6.5;
303303

304304
// Code
305-
const checkinCode = 'hello';
306-
// const checkinCode = event.attendanceCode;
305+
const checkinCode = event.attendanceCode;
307306
const checkinSize = rescaleFont(checkinCode.length, 30, 70);
308307
context.fillStyle = '#ffffff';
309308
context.font = `${checkinSize}pt 'DM Sans'`;

0 commit comments

Comments
 (0)