diff --git a/company-explorer/backend/app.py b/company-explorer/backend/app.py index bb0bd4a4..6e5b0256 100644 --- a/company-explorer/backend/app.py +++ b/company-explorer/backend/app.py @@ -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")