From 50ddf47d21fd0920fe2427020c348efe8784801a Mon Sep 17 00:00:00 2001 From: Haydar Ghasemi Date: Wed, 29 Oct 2025 15:11:44 +0330 Subject: [PATCH] fix(pg): withdraw verify process withdraw verify process --- utils/wallet_client.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/utils/wallet_client.py b/utils/wallet_client.py index f923dbf..b5247d3 100644 --- a/utils/wallet_client.py +++ b/utils/wallet_client.py @@ -94,21 +94,21 @@ def deposit_to_user_wallet_verify(payer_wallet, uuid): return response -def withdraw_from_user_wallet_submit(category_uuid, data): +def withdraw_from_user_wallet_submit(payee_wallet, data): class Tmp(): def to_dict(self): return data withdraw_data = Tmp() client = get_client() - response: ApplicationWithdraw = wallet_api_application_withdraw_create_2.sync(category_uuid=category_uuid, client=client, body=withdraw_data) + response: ApplicationWithdraw = wallet_api_application_withdraw_create.sync(payee_wallet=payee_wallet, client=client, body=withdraw_data) print(response) return response -def withdraw_from_user_wallet_verify(category_uuid, uuid): +def withdraw_from_user_wallet_verify(payee_wallet, uuid): client = get_client() - response: ApplicationWithdraw = wallet_api_application_withdraw_verify_retrieve_2.sync(category_uuid=category_uuid, uuid=uuid, client=client) + response: ApplicationWithdraw = wallet_api_application_withdraw_verify_retrieve.sync(payee_wallet=payee_wallet, uuid=uuid, client=client) print(response) return response