fix menu
This commit is contained in:
@@ -88,7 +88,9 @@ def _create_user(*, user: User, password: str):
|
||||
item={
|
||||
'sk': '0',
|
||||
'email_verified': False,
|
||||
'created_at': now_,
|
||||
'createdDate': now_,
|
||||
# Post-migration (users): uncomment the folloing line
|
||||
# 'created_at': now_,
|
||||
}
|
||||
| asdict(user),
|
||||
)
|
||||
@@ -116,6 +118,7 @@ def _create_user(*, user: User, password: str):
|
||||
# Post-migration (users): rename `cpf` to `CPF`
|
||||
'id': 'cpf',
|
||||
'sk': user.cpf,
|
||||
'user_id': user.id,
|
||||
'created_at': now_,
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
@@ -126,6 +129,7 @@ def _create_user(*, user: User, password: str):
|
||||
# Post-migration (users): rename `email` to `EMAIL`
|
||||
'id': 'email',
|
||||
'sk': user.email,
|
||||
'user_id': user.id,
|
||||
'created_at': now_,
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
|
||||
Reference in New Issue
Block a user