diff --git a/dzen-assistant/app/routes.py b/dzen-assistant/app/routes.py index 99dd454..3a822f5 100644 --- a/dzen-assistant/app/routes.py +++ b/dzen-assistant/app/routes.py @@ -711,10 +711,6 @@ def update_article(article_id: int, payload: ArticleUpdateIn, session: Session = if signature_html.strip() and body.rstrip().endswith(signature_html.strip()): body = body[: -len(signature_html.strip())].rstrip() lead, body_html = split_lead_and_body(body) - try: - validate_article_content(title, lead, body_html) - except RuntimeError as exc: - raise HTTPException(status_code=422, detail=str(exc)) from exc article.title = title article.lead = lead article.body_html = body_html