mirror of
https://github.com/rommapp/romm.git
synced 2026-12-06 15:54:45 +01:00
complete updating the endpoints and models
This commit is contained in:
26 files changed
+332
-201
No files matched your search
@@ -567,7 +567,7 @@ class IGDBBaseHandler(MetadataHandler):
|
||||
|
||||
@check_twitch_token
|
||||
async def get_matched_roms_by_name(
|
||||
self, search_term: str, platform_igdb_id: int
|
||||
self, search_term: str, platform_igdb_id: int | None
|
||||
) -> list[IGDBRom]:
|
||||
if not IGDB_API_ENABLED:
|
||||
return []
|
||||
|
||||
@@ -310,7 +310,7 @@ class MobyGamesHandler(MetadataHandler):
|
||||
return [rom] if rom["moby_id"] else []
|
||||
|
||||
async def get_matched_roms_by_name(
|
||||
self, search_term: str, platform_moby_id: int
|
||||
self, search_term: str, platform_moby_id: int | None
|
||||
) -> list[MobyGamesRom]:
|
||||
if not MOBY_API_ENABLED:
|
||||
return []
|
||||
|
||||
Reference in new issue
Block a user