Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
PLT-5073 Improve performance of /channels/view endpoint (#4881)
Browse files Browse the repository at this point in the history
* Improve performance of /channels/view endpoint

* Fix store unit test
  • Loading branch information
jwilander committed Dec 23, 2016
1 parent cdd8ee1 commit 4963996
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/client.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
Expand Down

0 comments on commit 4963996

Please sign in to comment.