Skip to content

Commit 2ec25e0

Browse files
Merge pull request #168 from particle-iot/minor-subspace-doc-updates
Fix some small typos in subspace docs
2 parents d179b44 + efb5a76 commit 2ec25e0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Particle.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@ class Particle {
22082208
* @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.
22092209
* @param {Object} [options.context] Request context.
22102210
*
2211-
* @returns {Promise<{body: {block: ResponseBlock[]}, statusCode: int}>} A promise that resolves to an array of logic block data.
2211+
* @returns {Promise<{body: {blocks: ResponseBlock[]}, statusCode: int}>} A promise that resolves to an array of logic block data.
22122212
*/
22132213
listLogicBlocks({ auth, org, headers, context }) {
22142214
return this.get({
@@ -2229,7 +2229,7 @@ class Particle {
22292229
* @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.
22302230
* @param {Object} [options.context] Request context
22312231
*
2232-
* @returns {Promise<{body: {blocks: BlockRun[]}, statusCode: int}>} A promise that resolves to an array of block run data.
2232+
* @returns {Promise<{body: {block_runs: BlockRun[]}, statusCode: int}>} A promise that resolves to an array of block run data.
22332233
*/
22342234
listBlockRuns({ auth, org, blockId, headers, context }) {
22352235
return this.get({
@@ -2251,7 +2251,7 @@ class Particle {
22512251
* @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.
22522252
* @param {Object} [options.context] Request context
22532253
*
2254-
* @returns {Promise<{body: {block_runs: BlockRun[]}, statusCode: int}>} A promise that resolves to an array of block run data for the specified block run ID.
2254+
* @returns {Promise<{body: {block_run: BlockRun}, statusCode: int}>} A promise that resolves to an array of block run data for the specified block run ID.
22552255
*/
22562256
getBlockRun({ auth, org, blockId, runId, headers, context }) {
22572257
return this.get({
@@ -2469,7 +2469,7 @@ class Particle {
24692469
* @param {Object} [options.headers] Key/Value pairs like `{ 'X-FOO': 'foo', X-BAR: 'bar' }` to send as headers.
24702470
* @param {Object} [options.context] Request context.
24712471
*
2472-
* @returns {Promise<{body: {instance: ResponseLedgerInstance[]}, statusCode: int}>} A promise that resolves to an array of ledger instance data.
2472+
* @returns {Promise<{body: {instances: ResponseLedgerInstance[]}, statusCode: int}>} A promise that resolves to an array of ledger instance data.
24732473
*/
24742474
listLedgerInstances({ auth, org, ledgerName, headers, context }) {
24752475
return this.get({

0 commit comments

Comments
 (0)