mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	js: Use ES6 object literal shorthand syntax.
Generated by ESLint. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		@@ -109,7 +109,7 @@ exports.mark_stream_as_read = function (stream_id, cont) {
 | 
			
		||||
    channel.post({
 | 
			
		||||
        url: "/json/mark_stream_as_read",
 | 
			
		||||
        idempotent: true,
 | 
			
		||||
        data: {stream_id: stream_id},
 | 
			
		||||
        data: {stream_id},
 | 
			
		||||
        success: cont,
 | 
			
		||||
    });
 | 
			
		||||
};
 | 
			
		||||
@@ -118,7 +118,7 @@ exports.mark_topic_as_read = function (stream_id, topic, cont) {
 | 
			
		||||
    channel.post({
 | 
			
		||||
        url: "/json/mark_topic_as_read",
 | 
			
		||||
        idempotent: true,
 | 
			
		||||
        data: {stream_id: stream_id, topic_name: topic},
 | 
			
		||||
        data: {stream_id, topic_name: topic},
 | 
			
		||||
        success: cont,
 | 
			
		||||
    });
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user