PLT-5073 Improve performance of /channels/view endpoint (#4881)
* Improve performance of /channels/view endpoint * Fix store unit test
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
ffd6ccde2e
Коммит
217cdf447a
@@ -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`).
|
||||
|
||||
Ссылка в новой задаче
Block a user