feat: allow to add test public key
This commit is contained in:
parent
7554374236
commit
f7dd15e775
6 changed files with 134 additions and 11 deletions
|
|
@ -352,7 +352,7 @@ async def _handle_new_order(order: PartialOrder) -> Optional[str]:
|
|||
return None
|
||||
|
||||
|
||||
async def _handle_new_customer(event, merchant):
|
||||
async def _handle_new_customer(event, merchant: Merchant):
|
||||
await create_customer(
|
||||
merchant.id, Customer(merchant_id=merchant.id, public_key=event.pubkey)
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue