misc/breaking: remove trailing slashes from endpoints
This commit is contained in:
@ -73,7 +73,7 @@ class LastFM(FastAPI):
|
||||
}
|
||||
|
||||
for endpoint, handler in self.endpoints.items():
|
||||
app.add_api_route(f"/{endpoint}/", handler, methods=["POST"])
|
||||
app.add_api_route(f"/{endpoint}", handler, methods=["POST"])
|
||||
|
||||
async def artist_by_name_handler(self, data: ValidArtistSearchRequest):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user