mirror of
https://github.com/rommapp/romm.git
synced 2026-11-30 18:42:34 +01:00
Hotfix scanning via watcher
This commit is contained in:
@@ -24,7 +24,7 @@ class DBPlatformsHandler(DBHandler):
|
||||
)
|
||||
|
||||
@begin_session
|
||||
def get_platform_by_slug(self, fs_slug: str, session: Session = None):
|
||||
def get_platform_by_fs_slug(self, fs_slug: str, session: Session = None):
|
||||
return session.scalars(
|
||||
select(Platform).filter_by(fs_slug=fs_slug).limit(1)
|
||||
).first()
|
||||
|
||||
Reference in New Issue
Block a user