From 217cdf447a995fd8f2700b14ba790360ccaeabf6 Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Fri, 23 Dec 2016 10:32:30 -0500 Subject: PLT-5073 Improve performance of /channels/view endpoint (#4881) * Improve performance of /channels/view endpoint * Fix store unit test --- webapp/client/client.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'webapp/client') diff --git a/webapp/client/client.jsx b/webapp/client/client.jsx index 782b74571..0c4e04524 100644 --- a/webapp/client/client.jsx +++ b/webapp/client/client.jsx @@ -1397,7 +1397,7 @@ export default class Client { end(this.handleResponse.bind(this, 'updateLastViewedAt', success, error)); } - // SCHEDULED FOR DEPRECATION IN 3.8 - use viewChannel instead + // SCHEDULED FOR DEPRECATION IN 3.8 setLastViewedAt(channelId, lastViewedAt, success, error) { request. post(`${this.getChannelNeededRoute(channelId)}/set_last_viewed_at`). -- cgit v1.2.3-1-g7c22