From 3cb351a5f4c40cb4daf6688c618898713d40d59e Mon Sep 17 00:00:00 2001 From: pseudozach Date: Wed, 28 Dec 2022 02:36:54 -0800 Subject: [PATCH] fix typo --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 204739d..2f90eac 100644 --- a/README.md +++ b/README.md @@ -102,13 +102,13 @@ event.sig = signEvent(event, sk) let pub = relay.publish(event) pub.on('ok', () => { - console.log(`{relay.url} has accepted our event`) + console.log(`${relay.url} has accepted our event`) }) pub.on('seen', () => { - console.log(`we saw the event on {relay.url}`) + console.log(`we saw the event on ${relay.url}`) }) pub.on('failed', reason => { - console.log(`failed to publish to {relay.url}: ${reason}`) + console.log(`failed to publish to ${relay.url}: ${reason}`) }) await relay.close()