misc/formatting ++ resolve #33 (restructured radio DBs, combined genre into track_file_map, revised query w/ INNER JOIN)
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user