Archived
2

fixed mail in user.ts

This commit is contained in:
VLE2FE
2020-08-06 11:40:29 +02:00
parent 5abad59a0e
commit 18e0809a99
2 changed files with 3 additions and 3 deletions

View File

@ -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',