OxbridgeEconomics commited on
Commit
7e15dd1
·
unverified ·
1 Parent(s): 371d495

Update entity.py

Browse files
Files changed (1) hide show
  1. app/routes/entity.py +0 -10
app/routes/entity.py CHANGED
@@ -20,13 +20,3 @@ async def get_hot_entity():
20
  dict: JSON response containing count and a list of hot entity.
21
  """
22
  return JSONResponse(content=retrieve_hot_entity())
23
-
24
- @router.post('/hot')
25
- async def post_hot_entity():
26
- """
27
- Handles GET requests to retrieve hot entity.
28
-
29
- Returns:
30
- dict: JSON response containing count and a list of hot entity.
31
- """
32
- return JSONResponse(content=retrieve_hot_entity())
 
20
  dict: JSON response containing count and a list of hot entity.
21
  """
22
  return JSONResponse(content=retrieve_hot_entity())