Fix another indentation issue in update_company_industry

This commit is contained in:
Jarvis
2026-01-30 14:05:56 +00:00
parent 97af86e509
commit b8fde5ceb4

View File

@@ -352,7 +352,8 @@ def update_company_industry(
background_tasks: BackgroundTasks,
db: Session = Depends(get_db),
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:
raise HTTPException(404, detail="Company not found")