fixed mail in user.ts
This commit is contained in:
@ -55,7 +55,7 @@ export default class Mail{
|
||||
});
|
||||
}
|
||||
|
||||
static send (mailAddress, subject, content, f = () => {}) { // callback, executed empty or with error
|
||||
static send (mailAddress, subject, content, f: (x?) => void = () => {}) { // callback, executed empty or with error
|
||||
if (process.env.NODE_ENV === 'production') { // only send mails in production
|
||||
axios({
|
||||
method: 'post',
|
||||
|
Reference in New Issue
Block a user