From 4f2598d8fda76f79129797920e5dc6399dddf854 Mon Sep 17 00:00:00 2001 From: Thomas Rognon Date: Sat, 8 Oct 2016 15:14:23 -0500 Subject: [PATCH] docs: datastore: maxApiCalls should be number not boolean --- CONTRIBUTORS | 1 + packages/datastore/src/request.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index a3b3418ae4a..cb4b8e85523 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -25,3 +25,4 @@ Marco Ziccardi Patrick Costello Silvano Luciani Stephen Sawchuk +Thomas Rognon diff --git a/packages/datastore/src/request.js b/packages/datastore/src/request.js index 28744cb68d1..27a9811dae1 100644 --- a/packages/datastore/src/request.js +++ b/packages/datastore/src/request.js @@ -231,7 +231,7 @@ DatastoreRequest.prototype.delete = function(keys, callback) { * If not specified, default values are chosen by Datastore for the * operation. Learn more about strong and eventual consistency * [here](https://cloud.google.com/datastore/docs/articles/balancing-strong-and-eventual-consistency-with-google-cloud-datastore). - * @param {boolean} options.maxApiCalls - Maximum API calls to make. + * @param {number} options.maxApiCalls - Maximum API calls to make. * @param {function} callback - The callback function. * @param {?error} callback.err - An error returned while making this request * @param {object|object[]} callback.entity - The entity object(s) which match