Clean up
parent
5e9fda7eb6
commit
ff93467d15
|
@ -35,17 +35,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
|
||||||
uid: "xxyPr4cg2xx4XoS2KeMEQy",
|
uid: "xxyPr4cg2xx4XoS2KeMEQy",
|
||||||
metadata: {},
|
metadata: {},
|
||||||
recurringEvent: null,
|
recurringEvent: null,
|
||||||
team: {
|
|
||||||
name: "Team example",
|
|
||||||
members: [
|
|
||||||
{ name: "team member 1", email: "team@example.com" },
|
|
||||||
{ name: "team member 2", email: "team2@example.com" },
|
|
||||||
{ name: "team member 3", email: "team3@example.com" },
|
|
||||||
{ name: "team member 4", email: "team4@example.com" },
|
|
||||||
{ name: "team member 5", email: "team5@example.com" },
|
|
||||||
{ name: "team member 6", email: "team6@example.com" },
|
|
||||||
],
|
|
||||||
},
|
|
||||||
appsStatus: [
|
appsStatus: [
|
||||||
{
|
{
|
||||||
appName: "Outlook Calendar",
|
appName: "Outlook Calendar",
|
||||||
|
|
|
@ -26,15 +26,6 @@ function detectTransport(): SendmailTransport.Options | SMTPConnection.Options |
|
||||||
return transport;
|
return transport;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.EMAIL_SERVER_PORT) {
|
|
||||||
const port = parseInt(process.env.EMAIL_SERVER_PORT!);
|
|
||||||
const transport = {
|
|
||||||
port,
|
|
||||||
};
|
|
||||||
|
|
||||||
return transport;
|
|
||||||
}
|
|
||||||
|
|
||||||
return {
|
return {
|
||||||
sendmail: true,
|
sendmail: true,
|
||||||
newline: "unix",
|
newline: "unix",
|
||||||
|
|
Loading…
Reference in New Issue