fix: tabulation in marketplace update price and cancel item sale
All checks were successful
Build and Deploy / deploy (push) Successful in 22s

This commit is contained in:
2025-07-21 22:28:51 +05:00
parent 1ae08de28b
commit 8c4db146c9

View File

@ -212,7 +212,7 @@ class MarketplaceService:
"message": "Покупка в обработке. Предмет будет добавлен в ваш инвентарь."
}
async def cancel_item_sale(self, username: str, item_id: str):
async def cancel_item_sale(self, username: str, item_id: str):
"""Снять предмет с продажи"""
# Находим предмет
item = await marketplace_collection.find_one({"id": item_id})
@ -248,7 +248,7 @@ async def cancel_item_sale(self, username: str, item_id: str):
"message": "Предмет снят с продажи и будет возвращен в ваш инвентарь"
}
async def update_item_price(self, username: str, item_id: str, new_price: int):
async def update_item_price(self, username: str, item_id: str, new_price: int):
"""Обновить цену предмета на торговой площадке"""
# Находим предмет
item = await marketplace_collection.find_one({"id": item_id})