feat: Convert all app files to JS
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import { IGlobalVariable } from '@automatisch/types';
|
||||
import nodemailer, { TransportOptions } from 'nodemailer';
|
||||
import nodemailer from 'nodemailer';
|
||||
|
||||
const transporter = ($: IGlobalVariable) => {
|
||||
const transporter = ($) => {
|
||||
return nodemailer.createTransport({
|
||||
host: $.auth.data.host,
|
||||
port: $.auth.data.port,
|
||||
@@ -10,7 +9,7 @@ const transporter = ($: IGlobalVariable) => {
|
||||
user: $.auth.data.username,
|
||||
pass: $.auth.data.password,
|
||||
},
|
||||
} as TransportOptions);
|
||||
});
|
||||
};
|
||||
|
||||
export default transporter;
|
Reference in New Issue
Block a user