This commit is contained in:
2025-12-03 01:24:52 -03:00
parent 3a49b13cb9
commit 38c49ff370
21 changed files with 133 additions and 73 deletions

View File

@@ -59,7 +59,7 @@ def get_user(user_id: str):
)
if not user:
return UserNotFoundError('User not found')
raise UserNotFoundError('User not found')
return user
@@ -74,10 +74,7 @@ def update(
old_cpf = dyn.collection.get_item(
KeyPair(
pk=user_id,
sk=SortKey(
'0',
path_spec='cpf',
),
sk=SortKey('0', path_spec='cpf'),
),
)