adrienbrdne commited on
Commit
f9dc62b
·
verified ·
1 Parent(s): 5053ea5

Update api.py

Browse files
Files changed (1) hide show
  1. api.py +0 -1
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.