From 4539e3a51595fa937a82406aa77fd06aadfb1a3c Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Tue, 4 Jul 2023 15:13:59 +0300 Subject: [PATCH] refactor: rename now public method --- services.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services.py b/services.py index c947ea5..6c22faa 100644 --- a/services.py +++ b/services.py @@ -65,7 +65,7 @@ async def create_new_order( if data.event_id and await get_order_by_event_id(merchant.id, data.event_id): return None - order, invoice = await _build_order_with_payment( + order, invoice = await build_order_with_payment( merchant.id, merchant.public_key, data ) await create_order(merchant.id, order) @@ -75,7 +75,7 @@ async def create_new_order( ) -async def _build_order_with_payment( +async def build_order_with_payment( merchant_id: str, merchant_public_key: str, data: PartialOrder ): products = await get_products_by_ids(