mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-16 15:45:04 +08:00
@@ -2659,7 +2659,7 @@ class RepositoryController(BaseUIController, ratings_util.ItemRatings):
|
||||
|
||||
def get_first_repository_metadata(session):
|
||||
stmt = select(RepositoryMetadata).limit(1)
|
||||
return session.select(stmt).first()
|
||||
return session.scalars(stmt).first()
|
||||
|
||||
|
||||
def get_current_repositories(session):
|
||||
|
||||
Reference in New Issue
Block a user