diff options
author | hmhealey <harrisonmhealey@gmail.com> | 2015-09-30 11:08:36 -0400 |
---|---|---|
committer | hmhealey <harrisonmhealey@gmail.com> | 2015-10-01 08:31:11 -0400 |
commit | c16b9de8dc4924cf2fb243579284e67f55cf3a47 (patch) | |
tree | d7780fae809cec0b021281638f25ed7920050b0a /web/react/utils | |
parent | 111fbb2495e88d69bec29971da8ddf086ac3f3b6 (diff) | |
download | chat-c16b9de8dc4924cf2fb243579284e67f55cf3a47.tar.gz chat-c16b9de8dc4924cf2fb243579284e67f55cf3a47.tar.bz2 chat-c16b9de8dc4924cf2fb243579284e67f55cf3a47.zip |
Replaced ChannelMember.MarkUnreadLevel with ChannelMember.NotifyProps
Diffstat (limited to 'web/react/utils')
-rw-r--r-- | web/react/utils/client.jsx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/web/react/utils/client.jsx b/web/react/utils/client.jsx index ce831be0d..041c00516 100644 --- a/web/react/utils/client.jsx +++ b/web/react/utils/client.jsx @@ -568,6 +568,7 @@ export function updateChannelDesc(data, success, error) { track('api', 'api_channels_desc'); } +// TODO remove me export function updateNotifyLevel(data, success, error) { $.ajax({ url: '/api/v1/channels/update_notify_level', @@ -583,16 +584,16 @@ export function updateNotifyLevel(data, success, error) { }); } -export function updateMarkUnreadLevel(data, success, error) { +export function updateNotifyProps(data, success, error) { $.ajax({ - url: '/api/v1/channels/update_mark_unread_level', + url: '/api/v1/channels/update_notify_props', dataType: 'json', contentType: 'application/json', type: 'POST', data: JSON.stringify(data), success, error: function onError(xhr, status, err) { - var e = handleError('updateMarkUnreadLevel', xhr, status, err); + var e = handleError('updateNotifyProps', xhr, status, err); error(e); } }); |