File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ export function GlobalField (http, data = {}) {
230
230
* client.stack().globalField().create({ global_field })
231
231
* .then((globalField) => console.log(globalField))
232
232
*/
233
- this . create = async ( data ) => {
233
+ this . create = async ( payload ) => {
234
234
try {
235
235
if ( this . apiVersion ) {
236
236
this . stackHeaders . api_version = this . apiVersion
@@ -240,7 +240,7 @@ export function GlobalField (http, data = {}) {
240
240
...cloneDeep ( this . stackHeaders )
241
241
}
242
242
}
243
- const response = await http . post ( `${ this . urlPath } ` , data , headers )
243
+ const response = await http . post ( `${ this . urlPath } ` , payload , headers )
244
244
const data = response . data
245
245
if ( data ) {
246
246
if ( this . stackHeaders ) {
You can’t perform that action at this time.
0 commit comments