Moved ChannelMember.NotifyLevel into ChannelMember.NotifyProps

Этот коммит содержится в:
hmhealey
2015-09-30 12:28:28 -04:00
родитель c16b9de8dc
Коммит c9a0030551
13 изменённых файлов: 31 добавлений и 233 удалений

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

@@ -568,22 +568,6 @@ 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',
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);
error(e);
}
});
}
export function updateNotifyProps(data, success, error) {
$.ajax({
url: '/api/v1/channels/update_notify_props',