Skip to content

Commit e80086f

Browse files
committed
address PR comments
1 parent 71068a7 commit e80086f

2 files changed

Lines changed: 1 addition & 3 deletions

File tree

scripts/check-app-env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const schema = serverSchema
1010
(data) => Boolean(data.KV_REST_API_URL) === Boolean(data.KV_REST_API_TOKEN),
1111
{
1212
message: 'KV_REST_API_URL and KV_REST_API_TOKEN must be set together',
13-
path: ['KV_REST_API_URL'],
13+
path: ['KV_REST_API_URL', 'KV_REST_API_TOKEN'],
1414
}
1515
)
1616
.refine(

src/core/server/functions/auth/validate-email.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ export const shouldWarnAboutAlternateEmail = async (
115115
? serializeErrorForLog(warnedAlternateEmail.error)
116116
: undefined,
117117
context: {
118-
email: validationResult.address,
119118
reason: warnedAlternateEmail.reason,
120119
},
121120
},
@@ -140,7 +139,6 @@ export const shouldWarnAboutAlternateEmail = async (
140139
? serializeErrorForLog(setResult.error)
141140
: undefined,
142141
context: {
143-
email: validationResult.address,
144142
reason: setResult.reason,
145143
},
146144
},

0 commit comments

Comments
 (0)