randydev commited on
Commit
483ec3a
·
verified ·
1 Parent(s): ecf3d1e

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -1
main.py CHANGED
@@ -29,6 +29,7 @@ async def hello():
29
  @fast_app.get("/api/send")
30
  async def send_message():
31
  response_json = await client.send_message("@xpushz", "hello world!")
32
- return {"success": response_json}
 
33
 
34
  run_fast(build=fast_app, port=7860)
 
29
  @fast_app.get("/api/send")
30
  async def send_message():
31
  response_json = await client.send_message("@xpushz", "hello world!")
32
+ convert_str = str(response_json)
33
+ return {"success": convert_str}
34
 
35
  run_fast(build=fast_app, port=7860)