mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
lint: Add dangling commas in JavaScript objects.
This commit is contained in:
@@ -13,8 +13,8 @@ var exports = {};
|
||||
channel.post({
|
||||
url: '/json/users/me/subscriptions',
|
||||
data: {
|
||||
subscriptions: JSON.stringify([{name: stream_name}])
|
||||
}
|
||||
subscriptions: JSON.stringify([{name: stream_name}]),
|
||||
},
|
||||
}).then(
|
||||
function (data) {
|
||||
if (!$.isEmptyObject(data.already_subscribed)) {
|
||||
@@ -33,8 +33,8 @@ var exports = {};
|
||||
channel.del({
|
||||
url: '/json/users/me/subscriptions',
|
||||
data: {
|
||||
subscriptions: JSON.stringify([stream_name])
|
||||
}
|
||||
subscriptions: JSON.stringify([stream_name]),
|
||||
},
|
||||
}).then(
|
||||
function () {
|
||||
$status_message.hide();
|
||||
|
||||
Reference in New Issue
Block a user