finish register

This commit is contained in:
2025-12-03 16:27:07 -03:00
parent 967e275f29
commit 392dccebc1
11 changed files with 90 additions and 44 deletions

View File

@@ -58,6 +58,8 @@ def health():
@app.exception_handler(ServiceError)
def exc_error(exc: ServiceError):
logger.exception(exc)
return JSONResponse(
body={
'type': type(exc).__name__,

View File

@@ -93,6 +93,7 @@ def add(
# Post-migration (users): rename `email` to `EMAIL`
'id': 'email',
'sk': email,
'user_id': user_id,
'created_at': now_,
},
# Prevent duplicate emails