add some in company and linters
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
from fastapi import APIRouter, Depends, Request
|
||||
|
||||
from api.application.contracts.company.company_response import \
|
||||
CompanyBaseResponse
|
||||
from api.application.contracts.company.company_response import CompanyBaseResponse
|
||||
from api.presentation.auth.fasapi_auth import auth_required
|
||||
|
||||
company_router = APIRouter(prefix="/company", tags=["Company"])
|
||||
@@ -13,7 +12,6 @@ company_router = APIRouter(prefix="/company", tags=["Company"])
|
||||
dependencies=[Depends(auth_required)],
|
||||
)
|
||||
async def get_company(request: Request) -> CompanyBaseResponse:
|
||||
print(request.scope["auth"])
|
||||
return CompanyBaseResponse(
|
||||
name="some",
|
||||
email="some",
|
||||
|
Reference in New Issue
Block a user