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 = {}) {
230230 * client.stack().globalField().create({ global_field })
231231 * .then((globalField) => console.log(globalField))
232232 */
233- this . create = async ( data ) => {
233+ this . create = async ( payload ) => {
234234 try {
235235 if ( this . apiVersion ) {
236236 this . stackHeaders . api_version = this . apiVersion
@@ -240,7 +240,7 @@ export function GlobalField (http, data = {}) {
240240 ...cloneDeep ( this . stackHeaders )
241241 }
242242 }
243- const response = await http . post ( `${ this . urlPath } ` , data , headers )
243+ const response = await http . post ( `${ this . urlPath } ` , payload , headers )
244244 const data = response . data
245245 if ( data ) {
246246 if ( this . stackHeaders ) {
You can’t perform that action at this time.
0 commit comments