Skip to content

Commit

Permalink
Used JS delete instead of _.omit
Browse files Browse the repository at this point in the history
  • Loading branch information
bnvk committed Oct 24, 2014
1 parent 66958a6 commit 28bcd0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion static/default/html/jsapi/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Mailpile.API._action = function(base_url, command, data, method, callback) {
var output = '';
if (data._output) {
output = data._output;
data = _.omit(data, '_output');
delete data['_output'];
}

// Default to GET
Expand Down

0 comments on commit 28bcd0a

Please sign in to comment.