mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected error typo
This commit is contained in:
parent
728aaa095f
commit
87714f0089
@ -467,7 +467,7 @@ export class UserResolver {
|
||||
if (emailAlreadySend) {
|
||||
const timeElapsed = Date.now() - new Date(optInCode.updatedAt).getTime()
|
||||
if (timeElapsed < 10 * 60 * 1000) {
|
||||
throw new Error('email already sent less than a 10 minutes before')
|
||||
throw new Error('email already sent less than 10 minutes before')
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user