Lint
This commit is contained in:
parent
a4399aaee9
commit
6d7fbd69c7
|
@ -5,10 +5,7 @@ dayjs.extend(utc)
|
||||||
|
|
||||||
import { getPrivateUser } from './utils'
|
import { getPrivateUser } from './utils'
|
||||||
import { User } from '../../common/user'
|
import { User } from '../../common/user'
|
||||||
import {
|
import { sendPersonalFollowupEmail, sendWelcomeEmail } from './emails'
|
||||||
sendPersonalFollowupEmail,
|
|
||||||
sendWelcomeEmail,
|
|
||||||
} from './emails'
|
|
||||||
|
|
||||||
export const onCreateUser = functions
|
export const onCreateUser = functions
|
||||||
.runWith({ secrets: ['MAILGUN_KEY'] })
|
.runWith({ secrets: ['MAILGUN_KEY'] })
|
||||||
|
@ -22,5 +19,4 @@ export const onCreateUser = functions
|
||||||
|
|
||||||
const followupSendTime = dayjs().add(48, 'hours').toString()
|
const followupSendTime = dayjs().add(48, 'hours').toString()
|
||||||
await sendPersonalFollowupEmail(user, privateUser, followupSendTime)
|
await sendPersonalFollowupEmail(user, privateUser, followupSendTime)
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue
Block a user