Skip to content

Commit

Permalink
Fix typo in query
Browse files Browse the repository at this point in the history
Introduced in commit 3238b21 .
  • Loading branch information
nsoranzo committed Oct 19, 2023
1 parent 807a487 commit 3c4f3a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tool_shed/webapp/controllers/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -2659,7 +2659,7 @@ def validate_changeset_revision(self, trans, changeset_revision, repository_id):

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):
Expand Down

0 comments on commit 3c4f3a3

Please sign in to comment.