Skip to content

Commit 9a8bdcf

Browse files
Fixed linting errors
1 parent eb1d48f commit 9a8bdcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/stack/globalField/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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) {

0 commit comments

Comments
 (0)