pull/1108/head
Andrey 2024-07-12 16:01:48 +03:00
rodzic bba32bebe3
commit f289838461
1 zmienionych plików z 0 dodań i 8 usunięć

Wyświetl plik

@ -426,11 +426,8 @@ async def update_subscriptions_handler(
Get user's subscriptions.
"""
token = request.state.token
user = request.state.user
print("user", user)
form = await request.form()
try:
form_data = data.UpdateSubscriptionRequest(**form)
@ -565,12 +562,7 @@ async def update_subscriptions_handler(
logger.error(f"Error update user subscriptions: {str(e)}")
raise MoonstreamHTTPException(status_code=500, internal_error=e)
print("subscription", subscription)
print("subscription_entity", subscription_entity)
print(abi) # noqa
if abi is not None:
print("apply_moonworm_tasks")
background_tasks.add_task(
apply_moonworm_tasks,
subscription_type_id,