Skip to content

Commit

Permalink
yarn test:lint:js --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
takayamaki committed Feb 19, 2024
1 parent 3eaac5a commit 3838454
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions streaming/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down Expand Up @@ -813,7 +813,7 @@ const startWorker = async (workerId) => {
results.push({
filter: cachedFilter.filter,
keyword_matches,
status_matches: null
status_matches: null,
});
}

Expand All @@ -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);
Expand Down

0 comments on commit 3838454

Please sign in to comment.