Spaces:
Running
on
Zero
Running
on
Zero
df
Browse files- mysite/routers/fastapi.py +1 -1
- routers/webhook.py +1 -1
mysite/routers/fastapi.py
CHANGED
@@ -77,4 +77,4 @@ def setup_webhook_routes(app: FastAPI):
|
|
77 |
|
78 |
register_routers(app)
|
79 |
from routers.webhook import router
|
80 |
-
app.include_router(router)
|
|
|
77 |
|
78 |
register_routers(app)
|
79 |
from routers.webhook import router
|
80 |
+
#app.include_router(router)
|
routers/webhook.py
CHANGED
@@ -3,7 +3,7 @@ import os
|
|
3 |
import sys
|
4 |
import subprocess
|
5 |
import logging
|
6 |
-
from fastapi import FastAPI, Request, HTTPException
|
7 |
import requests
|
8 |
import json
|
9 |
from datetime import datetime
|
|
|
3 |
import sys
|
4 |
import subprocess
|
5 |
import logging
|
6 |
+
from fastapi import FastAPI, Request, HTTPException,APIRouter
|
7 |
import requests
|
8 |
import json
|
9 |
from datetime import datetime
|