From d79901b4fbf069e2c9231be494cfa728b8a6a7a5 Mon Sep 17 00:00:00 2001 From: Vlad Stan Date: Wed, 1 Feb 2023 15:29:41 +0200 Subject: [PATCH] fix: throw on duplicate event --- crud.py | 1 - 1 file changed, 1 deletion(-) diff --git a/crud.py b/crud.py index 0081085..8335078 100644 --- a/crud.py +++ b/crud.py @@ -18,7 +18,6 @@ async def create_event(relay_id: str, e: NostrEvent): sig ) VALUES (?, ?, ?, ?, ?, ?, ?) - ON CONFLICT (id) DO NOTHING """, (relay_id, e.id, e.pubkey, e.created_at, e.kind, e.content, e.sig), )