mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-05 11:18:36 +02:00
fix copilot not getting created
This commit is contained in:
committed by
fiatjaf
parent
6af8899cd1
commit
25b502e5d5
@@ -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,
|
||||||
|
Reference in New Issue
Block a user