Update src/rest-api-filters/index.js
Co-authored-by: Chi-Hsuan Huang <chihsuan.tw@gmail.com>
This commit is contained in:
parent
9aaf994638
commit
941b068cd5
|
@ -54,7 +54,12 @@ function RestAPIFilters( {
|
|||
|
||||
return filters.map( ( filter, index ) => {
|
||||
// eslint-disable-next-line camelcase
|
||||
const { endpoint, dot_notation, replacement, enabled } = filter;
|
||||
const {
|
||||
endpoint,
|
||||
dot_notation: dotNotation,
|
||||
replacement,
|
||||
enabled,
|
||||
} = filter;
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
const dotNotation = dot_notation;
|
||||
|
|
Loading…
Reference in New Issue