diff --git a/api/birdxplorer_api/routers/data.py b/api/birdxplorer_api/routers/data.py index 1dd639f..9af0e71 100644 --- a/api/birdxplorer_api/routers/data.py +++ b/api/birdxplorer_api/routers/data.py @@ -120,7 +120,6 @@ def get_posts( elif created_at_end is not None: posts = list(storage.get_posts_by_created_at_end(end=ensure_twitter_timestamp(created_at_end))) elif search_text is not None and len(search_text) > 0: - print(search_text) posts = list(storage.search_posts_by_text(search_text)) else: posts = list(storage.get_posts()) diff --git a/api/tests/conftest.py b/api/tests/conftest.py index f68fbe8..6b9419c 100644 --- a/api/tests/conftest.py +++ b/api/tests/conftest.py @@ -304,7 +304,6 @@ def _get_posts_by_created_at_end( def _search_posts_by_text(search_text: str) -> Generator[Post, None, None]: for post in post_samples: - print(search_text in post.text, post.text) if search_text in post.text: yield post