Merge pull request #881 from hmhealey/plt194

PLT-194 Changes to ChannelMember notification settings
Этот коммит содержится в:
Joram Wilander
2015-10-02 08:45:38 -04:00
родитель fbbee5bf61 c9a0030551
Коммит 08d390953a
16 изменённых файлов: 446 добавлений и 256 удалений

Просмотреть файл

@@ -582,16 +582,16 @@ export function updateChannelDesc(data, success, error) {
track('api', 'api_channels_desc');
}
export function updateNotifyLevel(data, success, error) {
export function updateNotifyProps(data, success, error) {
$.ajax({
url: '/api/v1/channels/update_notify_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('updateNotifyLevel', xhr, status, err);
var e = handleError('updateNotifyProps', xhr, status, err);
error(e);
}
});