add link to catalog
This commit is contained in:
@@ -13,7 +13,12 @@ from pydantic import BaseModel, EmailStr, Field
|
||||
from api_gateway import JSONResponse
|
||||
from boto3clients import dynamodb_client
|
||||
from config import INTERNAL_EMAIL_DOMAIN, USER_TABLE
|
||||
from exceptions import ConflictError
|
||||
from exceptions import (
|
||||
CPFConflictError,
|
||||
EmailConflictError,
|
||||
UserConflictError,
|
||||
UserNotFoundError,
|
||||
)
|
||||
from middlewares.authentication_middleware import User as Authenticated
|
||||
|
||||
router = Router()
|
||||
@@ -32,18 +37,6 @@ class User(BaseModel):
|
||||
email: EmailStr
|
||||
|
||||
|
||||
class CPFConflictError(ConflictError): ...
|
||||
|
||||
|
||||
class EmailConflictError(ConflictError): ...
|
||||
|
||||
|
||||
class UserConflictError(ConflictError): ...
|
||||
|
||||
|
||||
class UserNotFoundError(NotFoundError): ...
|
||||
|
||||
|
||||
class OrgNotFoundError(NotFoundError): ...
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user