Skip to content

Commit d195523

Browse files
committed
chore: remove unused api-analytics dependency from requirements and main.py
1 parent b47df29 commit d195523

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

src/backend/main.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
from fastapi.responses import FileResponse
77
from fastapi.middleware.cors import CORSMiddleware
88
from fastapi.staticfiles import StaticFiles
9-
from api_analytics.fastapi import Analytics
109
from dotenv import load_dotenv
1110
import posthog
1211

@@ -35,9 +34,6 @@ async def lifespan(_: FastAPI):
3534

3635
app = FastAPI(lifespan=lifespan)
3736

38-
# Add analytics middleware
39-
app.add_middleware(Analytics, api_key="ea6d92e3-51d7-48f0-a327-8a38869ade13")
40-
4137
# CORS middleware setup
4238
app.add_middleware(
4339
CORSMiddleware,

src/backend/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,5 @@ asyncpg
66
python-dotenv
77
PyJWT
88
requests
9-
api-analytics[fastapi]
109
sqlalchemy
1110
posthog

0 commit comments

Comments
 (0)