diff --git a/lib/bigquery/dataset.js b/lib/bigquery/dataset.js index 7997e26f7af..2ebcf3413cd 100644 --- a/lib/bigquery/dataset.js +++ b/lib/bigquery/dataset.js @@ -244,14 +244,14 @@ Dataset.prototype.query = function(options, callback) { * description: 'Information for every institution in the 2013 IPEDS universe' * }; * - * dataset.setMetadata(metadata, function(err, apiResponse) {}); + * dataset.setMetadata(metadata, function(err, metadata, apiResponse) {}); */ Dataset.prototype.setMetadata = function(metadata, callback) { var that = this; this.makeReq_('PATCH', '', null, metadata, function(err, resp) { if (err) { - callback(err, resp); + callback(err, null, resp); return; }