url error

This commit is contained in:
yonghyon
2024-02-20 13:49:43 +09:00
parent 86a3c4a676
commit 1071b87d75
2 changed files with 2 additions and 2 deletions

View File

@@ -120,7 +120,7 @@ export const TAxios = (
}
if (type === "get") {
const _urlparams = HelperMethods.createQueryString(urlParams);
url += url ? `?${_urlparams}` : "";
url += _urlparams ? `?${_urlparams}` : "";
}
let axiosInstance;