Skip to content

Commit

Permalink
remove uifilters param from map node info
Browse files Browse the repository at this point in the history
  • Loading branch information
smith committed Mar 1, 2021
1 parent 92f45e3 commit dda4775
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion x-pack/plugins/apm/server/routes/service_map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const serviceMapServiceNodeRoute = createRoute({
path: t.type({
serviceName: t.string,
}),
query: t.intersection([rangeRt, uiFiltersRt]),
query: t.intersection([environmentRt, rangeRt]),
}),
options: { tags: ['access:apm'] },
handler: async ({ context, request }) => {
Expand All @@ -81,13 +81,15 @@ export const serviceMapServiceNodeRoute = createRoute({

const {
path: { serviceName },
query: { environment },
} = context.params;

const searchAggregatedTransactions = await getSearchAggregatedTransactions(
setup
);

return getServiceMapServiceNodeInfo({
environment,
setup,
serviceName,
searchAggregatedTransactions,
Expand Down

0 comments on commit dda4775

Please sign in to comment.