Skip to content

Commit 79015c2

Browse files
committed
bulk operation doc update
1 parent 469493c commit 79015c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/stack/bulkOperation/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function BulkOperation (http, data = {}) {
4040
* '{{env_name}}/env_uid}}'
4141
* ]
4242
* }
43-
* client.stack({ api_key: 'api_key'}).publish({ details: publishDetails })
43+
* client.stack({ api_key: 'api_key'}).bulkOperation().publish({ details: publishDetails })
4444
* .then((response) => { console.log(response.notice) })
4545
*
4646
*/
@@ -94,7 +94,7 @@ export function BulkOperation (http, data = {}) {
9494
* '{{env_name}}/env_uid}}'
9595
* ]
9696
* }
97-
* client.stack({ api_key: 'api_key'}).unpublish({ details: publishDetails })
97+
* client.stack({ api_key: 'api_key'}).bulkOperation().unpublish({ details: publishDetails })
9898
* .then((response) => { console.log(response.notice) })
9999
*
100100
*/
@@ -139,7 +139,7 @@ export function BulkOperation (http, data = {}) {
139139
* uid: '{{uid}}'
140140
* }]
141141
* }
142-
* client.stack({ api_key: 'api_key'}).delete({ details: publishDetails })
142+
* client.stack({ api_key: 'api_key'}).bulkOperation().delete({ details: publishDetails })
143143
* .then((response) => { console.log(response.notice) })
144144
*
145145
*/

0 commit comments

Comments
 (0)