mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
add return type
This commit is contained in:
parent
7a11d90d2c
commit
4e11000ac0
1 changed files with 1 additions and 1 deletions
|
|
@ -80,7 +80,7 @@ export const getClaimsByToken = async (
|
|||
return claims
|
||||
}
|
||||
|
||||
export const generateVerificationToken = (userId: string) => {
|
||||
export const generateVerificationToken = (userId: string): string => {
|
||||
const iat = Math.floor(Date.now() / 1000)
|
||||
const exp = Math.floor(
|
||||
new Date(Date.now() + 1000 * 60 * 60 * 24).getTime() / 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue