fix: duplicate event
This commit is contained in:
parent
f19fb4a18e
commit
1a1875e177
1 changed files with 1 additions and 0 deletions
1
crud.py
1
crud.py
|
|
@ -144,6 +144,7 @@ async def create_event(relay_id: str, e: NostrEvent, publisher: Optional[str]):
|
||||||
size
|
size
|
||||||
)
|
)
|
||||||
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)
|
||||||
|
ON CONFLICT (relay_id, id) DO NOTHING
|
||||||
""",
|
""",
|
||||||
(
|
(
|
||||||
relay_id,
|
relay_id,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue