Skip to content

Commit

Permalink
Fixed missing callback parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschwarz committed Oct 28, 2013
1 parent b225884 commit 027ae9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/devices/ios/ios-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -1389,7 +1389,7 @@ iOSController.deleteCookies = function(cb) {
return cb(new NotImplementedError(), null);
}
this.getCookies(function(err, res) {
if (this.checkSuccess(err, res)) {
if (this.checkSuccess(err, res, cb)) {
var numCookies = res.value.length;
var cookies = res.value;
if (numCookies) {
Expand Down

0 comments on commit 027ae9a

Please sign in to comment.