Update api.py
Browse files
api.py
CHANGED
@@ -228,7 +228,6 @@ async def add_single_research_paper(arxiv_id: str):
|
|
228 |
logger.info(f"Research paper {arxiv_id} was successfully added to Neo4j.")
|
229 |
status_code_response = 201 # Created
|
230 |
|
231 |
-
logger.info(message)
|
232 |
# Note: FastAPI uses the status_code from the decorator or HTTPException.
|
233 |
# This custom status_code_response is for the JSON body if needed, but the actual HTTP response status
|
234 |
# will be 201 (from decorator) unless an HTTPException overrides it or we change the decorator based on logic.
|
|
|
228 |
logger.info(f"Research paper {arxiv_id} was successfully added to Neo4j.")
|
229 |
status_code_response = 201 # Created
|
230 |
|
|
|
231 |
# Note: FastAPI uses the status_code from the decorator or HTTPException.
|
232 |
# This custom status_code_response is for the JSON body if needed, but the actual HTTP response status
|
233 |
# will be 201 (from decorator) unless an HTTPException overrides it or we change the decorator based on logic.
|