diff --git a/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/api/rpc/_licensed_items_purchases.py b/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/api/rpc/_licensed_items_purchases.py index c835848b219..1245ab3f6b4 100644 --- a/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/api/rpc/_licensed_items_purchases.py +++ b/services/resource-usage-tracker/src/simcore_service_resource_usage_tracker/api/rpc/_licensed_items_purchases.py @@ -3,6 +3,7 @@ LicensedItemPurchaseGet, LicensedItemsPurchasesPage, ) +from models_library.basic_types import IDStr from models_library.products import ProductName from models_library.resource_tracker_licensed_items_purchases import ( LicensedItemPurchaseID, @@ -25,7 +26,7 @@ async def get_licensed_items_purchases_page( wallet_id: WalletID, offset: int = 0, limit: int = 20, - order_by: OrderBy = OrderBy(field="purchased_at"), + order_by: OrderBy = OrderBy(field=IDStr("purchased_at")), ) -> LicensedItemsPurchasesPage: return await licensed_items_purchases.list_licensed_items_purchases( db_engine=app.state.engine,