Fixing issue that was breaking linting.
This commit is contained in:
parent
4f28bd9430
commit
684df38561
|
@ -80,10 +80,7 @@ const makeRowRequestBody = (parameters, state) => {
|
||||||
if (body._table) delete body._table
|
if (body._table) delete body._table
|
||||||
|
|
||||||
// then override with supplied parameters
|
// then override with supplied parameters
|
||||||
for (let fieldName in parameters.fields) {
|
for (let fieldName of Object.keys(parameters.fields)) {
|
||||||
if (!parameters.fields.hasOwnProperty(fieldName)) {
|
|
||||||
continue
|
|
||||||
}
|
|
||||||
const field = parameters.fields[fieldName]
|
const field = parameters.fields[fieldName]
|
||||||
|
|
||||||
// ensure fields sent are of the correct type
|
// ensure fields sent are of the correct type
|
||||||
|
|
Loading…
Reference in New Issue