fix copilot not getting created

This commit is contained in:
Tiago vasconcelos
2022-01-06 09:52:05 +00:00
committed by fiatjaf
parent 6af8899cd1
commit 25b502e5d5

View File

@@ -1,8 +1,9 @@
from typing import List, Optional, Union from typing import List, Optional, Union
from lnbits.helpers import urlsafe_short_hash
from . import db from . import db
from .models import Copilots, CreateCopilotData from .models import Copilots, CreateCopilotData
from lnbits.helpers import urlsafe_short_hash
###############COPILOTS########################## ###############COPILOTS##########################
@@ -15,7 +16,7 @@ async def create_copilot(
""" """
INSERT INTO copilot.newer_copilots ( INSERT INTO copilot.newer_copilots (
id, id,
user, "user",
lnurl_toggle, lnurl_toggle,
wallet, wallet,
title, title,