misc/formatting ++ resolve #33 (restructured radio DBs, combined genre into track_file_map, revised query w/ INNER JOIN)

This commit is contained in:
2025-07-01 13:02:53 -04:00
parent c3f753a4f0
commit 1d7589ffbd
8 changed files with 43 additions and 40 deletions

View File

@ -20,10 +20,10 @@ class RandMsg(FastAPI):
self.endpoint_name = "randmsg"
app.add_api_route(
f"/{self.endpoint_name}", self.randmsg_handler,
methods=["POST"], dependencies=[Depends(
RateLimiter(times=5, seconds=2)
)]
f"/{self.endpoint_name}",
self.randmsg_handler,
methods=["POST"],
dependencies=[Depends(RateLimiter(times=5, seconds=2))],
)
async def randmsg_handler(