Skip to content

Commit cce24e8

Browse files
author
DylanBulmer
committed
email typo
1 parent 2235705 commit cce24e8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/classes/MailTemplate/Generic.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default class GenericTemplate<T extends string>
4343
* @param {{[x: string]: string}} params Values to replace placeholders in template text.
4444
*/
4545
validate(params: Record<T, string>) {
46-
const missing = [];
46+
const missing: string[] = [];
4747
for (const opt of this.requiredParams) {
4848
if (Object.prototype.hasOwnProperty.call(params, opt)) {
4949
// check to makesure the option is not empty

src/classes/MailTemplate/Signin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export default class SigninTemplate extends GenericTemplate<RequiredParamsType>
1515
Sign into your Codr account with the following link:
1616
{link}
1717
18-
If you did not attempt to sign in, disragard this email.`.replace(/\n/g, `<br />`);
18+
If you did not attempt to sign in, disregard this email.`.replace(/\n/g, `<br />`);
1919

2020
super(template, subject, requiredParams);
2121
}

0 commit comments

Comments
 (0)