All extensions semi-switched

This commit is contained in:
Ben Arc
2021-08-21 00:34:48 +01:00
parent 8deea85999
commit a9dc087f61
17 changed files with 282 additions and 372 deletions
+3 -4
View File
@@ -25,13 +25,12 @@ async def api_paywalls():
HTTPStatus.OK,
)
class CreateData(BaseModel):
url: Optional[str] = Query(...)
memo: Optional[str] = Query(...)
description: str = Query(None)
amount: int = Query(None)
remembers: bool = Query(None)
description: str
amount: int
remembers: bool
@paywall_ext.post("/api/v1/paywalls")
@api_check_wallet_key("invoice")