mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-04 18:33:10 +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 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,
|
||||
|
Reference in New Issue
Block a user