feat: returns ip instead of host for sql

This commit is contained in:
=
2025-03-25 02:22:49 +05:30
parent c8553fba2b
commit c179d7e5ae
2 changed files with 5 additions and 11 deletions
@@ -47,4 +47,5 @@ export const verifyHostInputValidity = async (host: string, isGateway = false) =
const isAppUsedIps = inputHostIps.some((el) => exclusiveIps.includes(el));
if (isAppUsedIps) throw new BadRequestError({ message: "Invalid db host" });
return inputHostIps;
};