Skip to content

Commit

Permalink
fix: Update test email generation
Browse files Browse the repository at this point in the history
  • Loading branch information
beilunyang committed Dec 23, 2024
1 parent 774736a commit 1d54fa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generate-test-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ async function generateTestData(env: Env) {
// 生成测试邮箱
const testEmails = Array.from({ length: MAX_EMAIL_COUNT }).map(() => ({
id: crypto.randomUUID(),
address: `${nanoid(6)}@${EMAIL_CONFIG.DOMAIN}`,
address: `${nanoid(6)}@${EMAIL_CONFIG.DOMAINS[0]}`,
userId: TEST_USER_ID,
createdAt: now,
expiresAt: new Date(now.getTime() + 24 * 60 * 60 * 1000),
Expand Down

0 comments on commit 1d54fa0

Please sign in to comment.