Fixing issue that was breaking linting.

This commit is contained in:
Michael Drury 2020-11-03 15:35:27 +00:00
parent 4f28bd9430
commit 684df38561
1 changed files with 1 additions and 4 deletions

View File

@ -80,10 +80,7 @@ const makeRowRequestBody = (parameters, state) => {
if (body._table) delete body._table
// then override with supplied parameters
for (let fieldName in parameters.fields) {
if (!parameters.fields.hasOwnProperty(fieldName)) {
continue
}
for (let fieldName of Object.keys(parameters.fields)) {
const field = parameters.fields[fieldName]
// ensure fields sent are of the correct type