diff --git a/dzen-assistant/app/routes.py b/dzen-assistant/app/routes.py index 3a822f5..0d01cf9 100644 --- a/dzen-assistant/app/routes.py +++ b/dzen-assistant/app/routes.py @@ -806,10 +806,6 @@ def publish_article( article = session.get(Article, article_id) if not article: raise HTTPException(status_code=404, detail="Article not found") - try: - validate_article_content(article.title, article.lead, article.body_html) - except RuntimeError as exc: - raise HTTPException(status_code=422, detail=str(exc)) from exc published_at = payload.publishedAt if payload and payload.publishedAt else datetime.now(timezone.utc) if published_at.tzinfo is None: published_at = published_at.replace(tzinfo=timezone.utc)