mirror of https://github.com/zulip/zulip.git
refactor: Remove redundant dataType option to channel.post().
This commit is contained in:
parent
2e47e35edc
commit
75db8fecf8
|
@ -280,7 +280,6 @@ exports.set_up = function () {
|
|||
data.password = $("#get_api_key_password").val();
|
||||
channel.post({
|
||||
url: '/json/fetch_api_key',
|
||||
dataType: 'json',
|
||||
data: data,
|
||||
success: function (data) {
|
||||
var settings_status = $('#account-settings-status').expectOne();
|
||||
|
|
Loading…
Reference in New Issue