update
This commit is contained in:
@@ -129,6 +129,17 @@ def _create_user(*, user: User, password: str):
|
||||
'created_at': now_,
|
||||
}
|
||||
)
|
||||
transact.put(
|
||||
item={
|
||||
'id': user.id,
|
||||
'sk': f'EMAIL_VERIFICATION#{uuid4()}',
|
||||
'welcome': True,
|
||||
'name': user.name,
|
||||
'email': user.email,
|
||||
'ttl': ttl(start_dt=now_, days=30),
|
||||
'created_at': now_,
|
||||
}
|
||||
)
|
||||
transact.put(
|
||||
item={
|
||||
'id': user.id,
|
||||
|
||||
Reference in New Issue
Block a user