From 04bea92b7e6ed37b095f5eed00c24c673797c8bd Mon Sep 17 00:00:00 2001 From: Melvin Carvalho Date: Mon, 29 Apr 2024 18:48:43 +0200 Subject: [PATCH] quotes --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 53475f9..d9d368e 100644 --- a/index.js +++ b/index.js @@ -12,7 +12,7 @@ now = Math.floor(now / 1000.0) let subscribe = `["REQ", "tail", {"since": ${now} }]` if (qs.pubkey) { - subscribe = `["REQ", "tail", { "authors": [${qs.pubkey}], "since": ${now} }]` + subscribe = `["REQ", "tail", { "authors": ["${qs.pubkey}"], "since": ${now} }]` } console.log(subscribe) socket.send(subscribe)