Skip to content

Commit

Permalink
Fix new bug: incorrect type in calculate_disk_usage_per_objectstore
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Apr 2, 2024
1 parent 1c4b114 commit 2c527d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ def calculate_user_disk_usage_statements(user_id, quota_source_map, for_sqlite=F
"""


def calculate_disk_usage_per_objectstore(sa_session, user_id: str):
def calculate_disk_usage_per_objectstore(sa_session, user_id: int):
statement = UNIQUE_DATASET_USER_USAGE_PER_OBJECTSTORE
params = {"id": user_id}
return sa_session.execute(text(statement), params).all()
Expand Down

0 comments on commit 2c527d4

Please sign in to comment.