Skip to content

Commit 2ed0e25

Browse files
co1acraftCopilot
andauthored
Update src/Activation.ts
Co-authored-by: Copilot <[email protected]>
1 parent 7d43a0b commit 2ed0e25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Activation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Activation {
3131
// Calculate sum of digits in the suffix
3232
let sum = 0;
3333
for (let i = 0; i < suffix.length; i++) {
34-
sum += parseInt(suffix![i]!, 10);
34+
sum += parseInt(suffix[i], 10);
3535
}
3636

3737
// The sum of the digits should be divisible by 7

0 commit comments

Comments
 (0)