diff --git a/company-explorer/backend/app.py b/company-explorer/backend/app.py index 3a411c39..bb0bd4a4 100644 --- a/company-explorer/backend/app.py +++ b/company-explorer/backend/app.py @@ -311,7 +311,8 @@ def update_reported_mistake_status( request: MistakeUpdateStatusRequest, db: Session = Depends(get_db), username: str = Depends(authenticate_user) -): mistake = db.query(ReportedMistake).filter(ReportedMistake.id == mistake_id).first() +): + mistake = db.query(ReportedMistake).filter(ReportedMistake.id == mistake_id).first() if not mistake: raise HTTPException(404, detail="Reported mistake not found")