Spaces:
Running
on
Zero
Running
on
Zero
dfa
Browse files
controllers/gpt_enginner20240619083042
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit c47e460d8bcfb0c7d46db0e14197e0280371a827
|
controllers/gpt_enginner20240619083323
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit c97cceb2e21a2aad86831f44792b3d89236a4d85
|
controllers/gpt_enginner20240619083349
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit baff80d6689647ca975bdbfd2c7a6f4a729661ae
|
controllers/gpt_enginner20240619083519
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
Subproject commit 82e77cd878c343ede97acb91adfa3012637ec622
|
mysite/routers/fastapi.py
CHANGED
@@ -207,7 +207,7 @@ def setup_webhook_routes(app: FastAPI):
|
|
207 |
logger.info("Received Headers: %s", received_headers)
|
208 |
logger.info("Received Body: %s", body.decode("utf-8"))
|
209 |
#send to appsheet
|
210 |
-
get_senario(user_id,res)
|
211 |
#apps script send
|
212 |
headers = {
|
213 |
"Content-Type": "application/json",
|
@@ -254,6 +254,6 @@ def setup_webhook_routes(app: FastAPI):
|
|
254 |
#test_set_lide(subtitle, text)
|
255 |
logger.error(res)
|
256 |
#send error to google chat
|
257 |
-
|
258 |
logger.error("Error: %s", str(e))
|
259 |
raise HTTPException(status_code=500, detail=str(e))
|
|
|
207 |
logger.info("Received Headers: %s", received_headers)
|
208 |
logger.info("Received Body: %s", body.decode("utf-8"))
|
209 |
#send to appsheet
|
210 |
+
get_senario("user_id",res)
|
211 |
#apps script send
|
212 |
headers = {
|
213 |
"Content-Type": "application/json",
|
|
|
254 |
#test_set_lide(subtitle, text)
|
255 |
logger.error(res)
|
256 |
#send error to google chat
|
257 |
+
send_google_chat_card(webhook_url, title, subtitle, link_text, link_url)
|
258 |
logger.error("Error: %s", str(e))
|
259 |
raise HTTPException(status_code=500, detail=str(e))
|