mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2025-05-01 05:31:38 +03:00
- client: rename helper
This commit is contained in:
parent
7b29c56791
commit
1583262df1
2 changed files with 3 additions and 3 deletions
client/src/helpers
|
@ -323,7 +323,7 @@ export const normalizeWhois = (whois) => {
|
|||
|
||||
export const isValidQuestionType = type => type && DNS_RECORD_TYPES.includes(type.toUpperCase());
|
||||
|
||||
export const getPathWithQueryParams = (path, params) => {
|
||||
export const getPathWithQueryString = (path, params) => {
|
||||
const searchParams = new URLSearchParams(params);
|
||||
|
||||
return `${path}?${searchParams.toString()}`;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue