mirror of https://github.com/hashicorp/consul
8 lines
134 B
JavaScript
8 lines
134 B
JavaScript
|
export default (search, secondary = () => {}) => scope => {
|
||
|
return {
|
||
|
scope: scope,
|
||
|
...search(),
|
||
|
...secondary(),
|
||
|
};
|
||
|
};
|