From d9385ae0eabf433ed3966f2a55d53e142f7b16ac Mon Sep 17 00:00:00 2001 From: koalasat Date: Tue, 22 Jul 2025 18:09:47 +0200 Subject: [PATCH] Fix nostr --- api/nostr.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/api/nostr.py b/api/nostr.py index 6a55c4ae..c46e75ca 100644 --- a/api/nostr.py +++ b/api/nostr.py @@ -59,9 +59,7 @@ class Nostr: Tag.parse(["status", Order.Status(order.status).label]), ] - await client.send_private_msg( - PublicKey.from_hex(robot.nostr_pubkey), text, tags - ) + await client.send_private_msg(PublicKey.parse(robot.nostr_pubkey), text, tags) print("Nostr NOTIFICATION event sent") async def initialize_client(self, keys):