diff --git a/src/rest-api-filters/index.js b/src/rest-api-filters/index.js index a5b9cdb6ea0..fdabdfe469c 100644 --- a/src/rest-api-filters/index.js +++ b/src/rest-api-filters/index.js @@ -54,15 +54,13 @@ function RestAPIFilters( { return filters.map( ( filter, index ) => { // eslint-disable-next-line camelcase - const { + const { endpoint, dot_notation: dotNotation, replacement, enabled, } = filter; - // eslint-disable-next-line camelcase - const dotNotation = dot_notation; return (