Skip to content

Commit

Permalink
resend acct conf codes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeKarow committed Jun 15, 2023
1 parent 6009b52 commit 8c3e772
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"format": "prettier --write --cache --cache-strategy metadata .",
"lint": "eslint --cache .",
"lint:fix": "eslint --cache --fix .",
"type-check": "tsc --noEmit"
"type-check": "tsc --noEmit",
"with-env": "dotenv -e ../../.env --"
},
"dependencies": {
"@aws-sdk/client-cognito-identity-provider": "3.352.0",
Expand Down
1 change: 1 addition & 0 deletions packages/aws-messaging/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export const handler = (

switch (triggerSource) {
case 'CustomMessage_AdminCreateUser':
case 'CustomMessage_ResendCode':
case 'CustomMessage_SignUp': {
response.emailSubject = subject
response.emailMessage = `${message} ${confirmLink}`
Expand Down
2 changes: 1 addition & 1 deletion packages/env/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { z } from 'zod'

export const env = createEnv({
server: {
NODE_ENV: z.enum(['development', 'production', 'test']),
NODE_ENV: z.enum(['development', 'production', 'test']).optional(),
DATABASE_URL: z.string().url(),
DB_DIRECT_URL: z.string().url(),
KV_URL: z.string().url(),
Expand Down

0 comments on commit 8c3e772

Please sign in to comment.