fix copilot not getting created

This commit is contained in:
Tiago vasconcelos
2022-01-10 20:52:51 -03:00
committed by fiatjaf
parent 6af8899cd1
commit 25b502e5d5
+3 -2
View File
@@ -1,8 +1,9 @@
from typing import List, Optional, Union
from lnbits.helpers import urlsafe_short_hash
from . import db
from .models import Copilots, CreateCopilotData
from lnbits.helpers import urlsafe_short_hash
###############COPILOTS##########################
@@ -15,7 +16,7 @@ async def create_copilot(
"""
INSERT INTO copilot.newer_copilots (
id,
user,
"user",
lnurl_toggle,
wallet,
title,