feat(user): Migrate user module to DML (#10389)
* feat(user): Migrate user module to DML * Create rotten-tigers-worry.md * update indexes names following conventions * remove duplicate modifier
This commit is contained in:
@@ -8,22 +8,16 @@ import jwt, { JwtPayload } from "jsonwebtoken"
|
||||
|
||||
jest.setTimeout(30000)
|
||||
|
||||
const expireDate = new Date().setMilliseconds(
|
||||
new Date().getMilliseconds() + 60 * 60 * 24
|
||||
)
|
||||
|
||||
const defaultInviteData = [
|
||||
{
|
||||
id: "1",
|
||||
email: "user_1@test.com",
|
||||
token: "test",
|
||||
expires_at: expireDate,
|
||||
},
|
||||
{
|
||||
id: "2",
|
||||
email: "user_2@test.com",
|
||||
token: "test",
|
||||
expires_at: expireDate,
|
||||
},
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user