From 9776a5dbdfb6db1a6d75c092d870bd5b8a237520 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 16 Aug 2024 12:18:10 +0200 Subject: [PATCH] Fix linting issues --- streaming/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/streaming/index.js b/streaming/index.js index 3fea71f944..09a2935691 100644 --- a/streaming/index.js +++ b/streaming/index.js @@ -726,7 +726,7 @@ const startWorker = async (workerId) => { // If the payload already contains the `filtered` property, it means // that filtering has been applied on the ruby on rails side, as // such, we don't need to construct or apply the filters in streaming: - if (Object.prototype.hasOwnProperty.call(payload, "filtered")) { + if (Object.prototype.hasOwnProperty.call(payload, 'filtered')) { transmit(event, payload); return; } @@ -813,7 +813,7 @@ const startWorker = async (workerId) => { results.push({ filter: cachedFilter.filter, keyword_matches, - status_matches: null + status_matches: null, }); } @@ -828,7 +828,7 @@ const startWorker = async (workerId) => { // filtered: https://docs.joinmastodon.org/entities/Status/#filtered transmit(event, { ...payload, - filtered: filter_results + filtered: filter_results, }); } else { transmit(event, payload);