Skip to content

Commit

Permalink
Fix SchemaOptions.success().
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Oct 11, 2017
1 parent 577219b commit 0599283
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builders.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function SchemaOptions(error, model, options, callback, controller) {
}

SchemaOptions.prototype.success = function(a, b) {
this.callback(SUCCESS(a, b));
this.callback(SUCCESS(a === undefined ? true : a, b));
return this;
};

Expand Down

0 comments on commit 0599283

Please sign in to comment.