Added testing env check

ref #154
This commit is contained in:
2021-03-06 13:41:10 +01:00
parent a3437475ca
commit 3f372123fd
3 changed files with 4 additions and 1 deletions

View File

@@ -9,6 +9,7 @@ import { MailSendingError } from './errors/MailErrors';
export class Mailer {
public static base: string = config.mailer_url;
public static key: string = config.mailer_key;
public static testing: boolean = config.testing;
/**
* Function for sending a password reset mail.