From aa264eaa3210f99faa286a13b7404cd9621d0760 Mon Sep 17 00:00:00 2001 From: Alessio Michelini Date: Wed, 30 Oct 2019 09:34:26 +0000 Subject: [PATCH] Fixed typos in the hubdb docs (#67) --- package-lock.json | 2 +- package.json | 2 +- src/entities/hubdb.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 5c39527..61ab3fb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "hubspot-api", - "version": "2.8.1", + "version": "2.8.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2c72c98..a6d48ed 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hubspot-api", - "version": "2.8.1", + "version": "2.8.2", "description": "HubSpot API Wrapper", "keywords": [ "hubspot", diff --git a/src/entities/hubdb.js b/src/entities/hubdb.js index d7c5657..960a2fd 100644 --- a/src/entities/hubdb.js +++ b/src/entities/hubdb.js @@ -166,7 +166,7 @@ export default function hubdbApi(baseOptions) { * @param {object} opts * @example * const hs = new HubSpotClient(props); - * hs.pages.createTable(opts).then(response => console.log(response)); + * hs.hubdb.createTable(opts).then(response => console.log(response)); * @property {string} opts.name * @property {boolean} opts.useForPages * @property {array} opts.columns @@ -195,7 +195,7 @@ export default function hubdbApi(baseOptions) { * @param {object} options * @example * const hs = new HubSpotClient(props); - * hs.pages.getTableRows(tableId, portalId, options).then(response => console.log(response)) + * hs.hubdb.getTableRows(tableId, portalId, options).then(response => console.log(response)) * @returns {Promise} */ getTableRows,