mirror of
https://github.com/zulip/zulip.git
synced 2026-07-06 21:18:58 +08:00
Replace /json/change_enter_sends with REST style route.
This commit is contained in:
parent
cb8da46bbf
commit
679b4e5807
@ -339,7 +339,7 @@ exports.initialize = function () {
|
||||
$("#new_message_content").focus();
|
||||
|
||||
return channel.post({
|
||||
url: '/json/change_enter_sends',
|
||||
url: '/json/users/me/enter-sends',
|
||||
idempotent: true,
|
||||
data: {'enter_sends': page_params.enter_sends}
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user