We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 77975be commit 71a0512Copy full SHA for 71a0512
app/modules/amap/endpoints_amap.py
@@ -456,7 +456,7 @@ async def add_order_to_delievery(
456
457
# If the balance does not exist, we create a new one with a balance of 0
458
if not balance:
459
- new_cash_db = schemas_amap.CashDB(
+ new_cash_db = schemas_amap.CashBase(
460
balance=0,
461
user_id=order.user_id,
462
)
app/modules/amap/schemas_amap.py
@@ -126,10 +126,6 @@ class CashComplete(CashBase):
126
user: CoreUserSimple
127
128
129
-class CashDB(CashBase):
130
- user_id: str
131
-
132
133
class CashEdit(BaseModel):
134
balance: float
135
0 commit comments