Fix another indentation issue in update_company_industry
This commit is contained in:
@@ -352,7 +352,8 @@ def update_company_industry(
|
|||||||
background_tasks: BackgroundTasks,
|
background_tasks: BackgroundTasks,
|
||||||
db: Session = Depends(get_db),
|
db: Session = Depends(get_db),
|
||||||
username: str = Depends(authenticate_user)
|
username: str = Depends(authenticate_user)
|
||||||
): company = db.query(Company).filter(Company.id == company_id).first()
|
):
|
||||||
|
company = db.query(Company).filter(Company.id == company_id).first()
|
||||||
if not company:
|
if not company:
|
||||||
raise HTTPException(404, detail="Company not found")
|
raise HTTPException(404, detail="Company not found")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user