Update main.py
Browse files
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 |
-
|
|
|
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)
|