mirror of
https://github.com/beilunyang/moemail.git
synced 2025-12-24 11:30:51 +08:00
fix: Update test email generation
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user