forgot the credits lol
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 48s
Run linting on the backend code / Build (pull_request) Successful in 3m9s
Run testing on the backend code / Build (pull_request) Failing after 1m59s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
Some checks failed
Build and deploy the backend to staging / Build and push image (pull_request) Failing after 48s
Run linting on the backend code / Build (pull_request) Successful in 3m9s
Run testing on the backend code / Build (pull_request) Failing after 1m59s
Build and deploy the backend to staging / Deploy to staging (pull_request) Has been skipped
This commit is contained in:
@@ -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