WildOjisan commited on
Commit
cb92744
·
1 Parent(s): 6adae80
Files changed (1) hide show
  1. routers/llm_router.py +3 -4
routers/llm_router.py CHANGED
@@ -20,9 +20,8 @@ def test_home():
20
  LIMIT 1
21
  """)
22
  row = cur.fetchone()
23
- data = {
24
- "now": row
25
- }
26
- return CommonResponse(success=True)
27
  except Exception as e:
28
  return CommonResponse(success=False, msg=str(e))
 
20
  LIMIT 1
21
  """)
22
  row = cur.fetchone()
23
+ pollination_api_key=row[0] if row else None
24
+
25
+ return CommonResponse(success=True, data=pollination_api_key)
 
26
  except Exception as e:
27
  return CommonResponse(success=False, msg=str(e))