mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
api: Remove '/users/me/enter-sends' endpoint.
We remove the '/users/me/enter-sends' endpoint and 'enter_sends' setting will now be edited using the '/settings' endpoint.
This commit is contained in:
@@ -1093,8 +1093,8 @@ export function initialize() {
|
||||
// press Enter to send.
|
||||
$("#compose-textarea").trigger("focus");
|
||||
|
||||
return channel.post({
|
||||
url: "/json/users/me/enter-sends",
|
||||
return channel.patch({
|
||||
url: "/json/settings",
|
||||
idempotent: true,
|
||||
data: {enter_sends: page_params.enter_sends},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user