chore: send email when new record apply

This commit is contained in:
oiov
2025-06-19 19:00:23 +08:00
parent 0d177f7c33
commit 8e57a4cbb9
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -229,7 +229,7 @@ export function checkUserStatus(user: any) {
export function getFirstAdminUser() {
return prisma.user.findFirst({
where: { role: UserRole.ADMIN },
where: { role: UserRole.ADMIN, email: { not: "admin@admin.com" } },
select: { email: true },
});
}
+1 -1
View File
File diff suppressed because one or more lines are too long