-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added support for nested global fields #230
base: feature_nested_global_field
Are you sure you want to change the base?
Added support for nested global fields #230
Conversation
lib/stack/globalField/index.js
Outdated
* client.stack({ api_key: 'api_key'}).globalField('global_field_uid').updateNestedGlobalField(data, { headers: { api_version: '3.3' }}) | ||
* .then((globalField) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunil-lakshman , pls correct the version here
lib/stack/index.js
Outdated
* client.stack({ api_key: 'api_key'}).globalField({ api_version: '3.2' }).fetch() | ||
* .then((globalField) => console.log(globalField)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sunil-lakshman , We cannot call the fetch method without the uid. Right? I think the second example can be removed.
@sunil-lakshman , LGTM. |
No description provided.