From 34cb22ae892b7b370823a56d90e25dbe368aaa31 Mon Sep 17 00:00:00 2001 From: KMY Date: Sun, 1 Oct 2023 15:01:37 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B9=E3=83=88=E3=83=AA=E3=83=BC=E3=83=9F?= =?UTF-8?q?=E3=83=B3=E3=82=B0=E3=81=AE=E5=AD=98=E5=9C=A8=E3=81=97=E3=81=AA?= =?UTF-8?q?=E3=81=84=E3=83=97=E3=83=AD=E3=83=91=E3=83=86=E3=82=A3=E5=89=8A?= =?UTF-8?q?=E9=99=A4=E3=81=AB=E3=82=88=E3=82=8B=E3=82=A8=E3=83=A9=E3=83=BC?= =?UTF-8?q?=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- streaming/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/streaming/index.js b/streaming/index.js index 1851de3cd06da8..5be548cb0c116e 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -802,7 +802,9 @@ const startServer = async () => { // reference_texts property is not working if ProcessReferencesWorker is // used on PostStatusService and so on. (Asynchronous processing) const reference_texts = payload.reference_texts || []; - delete payload.reference_texts; + if (payload.reference_texts) { + delete payload.reference_texts; + } // Streaming only needs to apply filtering to some channels and only to // some events. This is because majority of the filtering happens on the