js: Use ES6 object literal shorthand syntax.

Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-20 13:18:43 -07:00
parent b2745f6e41
commit 96dcc0ce6e
189 changed files with 1328 additions and 1326 deletions

View File

@@ -13,9 +13,9 @@ exports.update_property = function (stream_id, property, value, other_values) {
if (sub === undefined) {
// This isn't a stream we know about, so ignore it.
blueslip.warn("Update for an unknown subscription", {
stream_id: stream_id,
property: property,
value: value,
stream_id,
property,
value,
});
return;
}
@@ -62,8 +62,8 @@ exports.update_property = function (stream_id, property, value, other_values) {
break;
default:
blueslip.warn("Unexpected subscription property type", {
property: property,
value: value,
property,
value,
});
}
};