Merge modifications for more separate backend functions #69
@@ -42,6 +42,7 @@ class Item(BaseModel):
|
||||
name: str
|
||||
description: str
|
||||
unit_price: float
|
||||
anyway_credits: int
|
||||
|
||||
|
||||
def item_from_sql(item_id: str):
|
||||
@@ -59,7 +60,8 @@ def item_from_sql(item_id: str):
|
||||
id = '12345678',
|
||||
name = 'test_item',
|
||||
description = 'lorem ipsum',
|
||||
unit_price = 420
|
||||
unit_price = 420,
|
||||
anyway_credits = 99
|
||||
)
|
||||
|
||||
|
||||
@@ -290,6 +292,9 @@ class PaypalHandler:
|
||||
# currency : order_request.currency
|
||||
# updated_at : order_request.created_at
|
||||
|
||||
# Now we can increment the supabase balance by so many credits as in the balance.
|
||||
#TODO still
|
||||
|
||||
return order_response.json()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user