Do not rename output values
This commit is contained in:
parent
64329c3fac
commit
8f763d655d
@ -71,7 +71,7 @@ function augmentLayer(overviewsMetadataBackend, filterStatsBackend, user, layer,
|
||||
if (!filters) {
|
||||
if (!_.isEmpty(metadata)) {
|
||||
layer = Object.assign({}, layer);
|
||||
layer.options = Object.assign({}, layer.options, { queryRewriteData });
|
||||
layer.options = Object.assign({}, layer.options, { query_rewrite_data: queryRewriteData });
|
||||
}
|
||||
|
||||
return callback(null, layer);
|
||||
@ -88,7 +88,7 @@ function augmentLayer(overviewsMetadataBackend, filterStatsBackend, user, layer,
|
||||
|
||||
if (!_.isEmpty(metadata)) {
|
||||
layer = Object.assign({}, layer);
|
||||
layer.options = Object.assign({}, layer.options, { queryRewriteData });
|
||||
layer.options = Object.assign({}, layer.options, { query_rewrite_data: queryRewriteData });
|
||||
}
|
||||
|
||||
return callback(null, layer);
|
||||
|
Loading…
Reference in New Issue
Block a user