Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Commit

Permalink
Merge pull request #55 from MitchTalmadge/develop
Browse files Browse the repository at this point in the history
Fix email greeting out of bounds
  • Loading branch information
MitchTalmadge authored Apr 3, 2021
2 parents 616108f + d923dd0 commit 652b385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/verification/verifier.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export abstract class VerifierService {
private static greetings = ["Hey", "Hi there", "Hiya", "Hello", "Howdy", "Aloha"];

private getRandomGreeting(): string {
return VerifierService.greetings[Math.floor(Math.random() * VerifierService.greetings.length - 1)];
return VerifierService.greetings[Math.floor(Math.random() * VerifierService.greetings.length)];
}
}

0 comments on commit 652b385

Please sign in to comment.