Skip to content

Commit

Permalink
Fixed PR comments
Browse files Browse the repository at this point in the history
  • Loading branch information
sunil-lakshman committed Dec 17, 2024
1 parent a47ff36 commit ff4a22d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion lib/stack/globalField/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function GlobalField (http, data = {}) {
* ]
* }
* }
* client.stack({ api_key: 'api_key'}).globalField('global_field_uid').updateNestedGlobalField(data, { headers: { api_version: '3.3' }})
* client.stack({ api_key: 'api_key'}).globalField('global_field_uid').updateNestedGlobalField(data, { headers: { api_version: '3.2' }})
* .then((globalField) => {
console.log(globalField)
* })
Expand Down
2 changes: 0 additions & 2 deletions lib/stack/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,8 +163,6 @@ export function Stack (http, data) {
* client.stack({ api_key: 'api_key'}).globalField('globalField_uid', { api_version: '3.2' }).fetch()
* .then((globalField) => console.log(globalField))
*
* client.stack({ api_key: 'api_key'}).globalField({ api_version: '3.2' }).fetch()
* .then((globalField) => console.log(globalField))
*/
this.globalField = (globalFieldUidOrOptions = null, options = {}) => {
let data = {
Expand Down

0 comments on commit ff4a22d

Please sign in to comment.