Fix JS lint

This commit is contained in:
Lucas Verney 2017-11-27 10:42:22 +01:00
parent 00904a2e6e
commit 702f58cf9e
2 changed files with 3 additions and 3 deletions

View File

@ -123,7 +123,7 @@ export const updateFlatVisitDate = function (flatId, newVisitDate, callback) {
'Content-Type': 'application/json'
},
body: JSON.stringify({
visit_date: newVisitDate
visit_date: newVisitDate // eslint-disable-line camelcase
})
}
).then(callback).catch(function (ex) {

View File

@ -240,8 +240,8 @@ export default {
altFormat: 'h:i K, M j, Y',
altInput: true,
enableTime: true,
onChange: selectedDates => this.updateFlatVisitDate(selectedDates.length > 0 ? selectedDates[0] : null),
},
onChange: selectedDates => this.updateFlatVisitDate(selectedDates.length > 0 ? selectedDates[0] : null)
}
}
},