This commit is contained in:
arcbtc 2023-12-08 22:09:40 +00:00
parent 551d77a7d9
commit 5ca331134c
7 changed files with 11 additions and 13 deletions

View file

@ -27,7 +27,7 @@ from .crud import (
get_temp,
get_temps
)
from .models import CreateTempData, PayLnurlWData, LNURLCharge, CreateUpdateItemData
from .models import CreateTempData
#######################################
@ -102,7 +102,7 @@ async def api_temp_delete(
## This endpoint creates a payment
@tpos_ext.post("/api/v1/temps/payment/{temp_id}", status_code=HTTPStatus.CREATED)
@temp_ext.post("/api/v1/temps/payment/{temp_id}", status_code=HTTPStatus.CREATED)
async def api_tpos_create_invoice(
temp_id: str, amount: int = Query(..., ge=1), memo: str = ""
) -> dict: