This commit is contained in:
codey 2024-08-11 09:08:00 -04:00
parent f03121727b
commit 2dd8d4de50

View File

@ -46,9 +46,9 @@ class LyricSearch(FastAPI):
"LIMNORIA-SHARED"
]
app.add_api_route("/%s/" % self.endpoint_name, self.search_handler, methods=["POST"])
app.add_api_route("/%s/" % self.endpoint_name, self.lyric_search_handler, methods=["POST"])
async def search_handler(self, data: ValidLyricRequest):
async def lyric_search_handler(self, data: ValidLyricRequest):
"""
Search for lyrics