mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-03-11 01:36:11 +01:00
import dattime
This commit is contained in:
parent
dda5784a47
commit
c52ffe846d
1 changed files with 1 additions and 0 deletions
|
@ -6,6 +6,7 @@ from lnbits.helpers import urlsafe_short_hash
|
|||
from . import db
|
||||
from .models import Card, CreateCardData, Hit, Refund
|
||||
|
||||
from datetime import date, datetime
|
||||
|
||||
async def create_card(data: CreateCardData, wallet_id: str) -> Card:
|
||||
card_id = urlsafe_short_hash().upper()
|
||||
|
|
Loading…
Add table
Reference in a new issue