Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
matusdrobuliak66 committed Dec 10, 2024
1 parent 4c31cd0 commit 530fda0
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit 530fda0

Please sign in to comment.