feat: add subscription and transaction repositories
- Implemented SubscriptionRepository with methods to get, create, and update subscriptions. - Added BalanceTXRepository for creating and retrieving balance transactions. - Introduced a test script for simulating Pally webhook for local testing.
This commit is contained in:
@@ -231,5 +231,5 @@ def get_subscription_link(short_uuid: str):
|
||||
return settings.subscription_url + "/" + short_uuid
|
||||
|
||||
|
||||
def build_main_menu_text(link: str) -> str:
|
||||
return texts.MAIN_MENU.format(quote=fetch_quote(), link=link)
|
||||
def build_main_menu_text(link: str, balance: int) -> str:
|
||||
return texts.MAIN_MENU.format(quote=fetch_quote(), link=link, balance=balance)
|
||||
|
||||
Reference in New Issue
Block a user