From 530fda09b465d24201ab8ca24d190fc66bfd1385 Mon Sep 17 00:00:00 2001 From: matusdrobuliak66 Date: Tue, 10 Dec 2024 15:43:16 +0100 Subject: [PATCH] fix type --- .../api/rpc/_licensed_items_purchases.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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,