Skip to content

Commit

Permalink
add pathname to endpoint url builder methods
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Apr 7, 2020
1 parent ab763a3 commit 7604932
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export function urlFromQueryParams(
): Partial<EndpointAppLocation> {
const search = querystring.stringify(queryParams);
return {
pathname: '/alerts',
search,
};
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export function urlFromQueryParams(
): Partial<EndpointAppLocation> {
const search = querystring.stringify(queryParams);
return {
pathname: '/hosts',
search,
};
}

0 comments on commit 7604932

Please sign in to comment.