refactor: Remove redundant dataType option to channel.post().

This commit is contained in:
Thomas Ip
2019-08-13 22:58:01 +08:00
committed by Tim Abbott
parent 2e47e35edc
commit 75db8fecf8

View File

@@ -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();