mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 11:33:51 +00:00
Change get_bots API to use rest_dispatch
(imported from commit 921895dd636ba118a0f57e60a7bcb9dca1c7c605)
This commit is contained in:
@@ -71,8 +71,8 @@ $(function () {
|
||||
$("#name_change_container").hide();
|
||||
}
|
||||
|
||||
channel.post({
|
||||
url: '/json/get_bots',
|
||||
channel.get({
|
||||
url: '/json/bots',
|
||||
idempotent: true,
|
||||
success: function (data) {
|
||||
$('#bot_table_error').hide();
|
||||
|
||||
Reference in New Issue
Block a user