feat: loader

This commit is contained in:
2025-06-09 11:59:38 +03:00
parent 7e94b5c44f
commit 3d1898f849
3 changed files with 55 additions and 37 deletions

View File

@@ -23,7 +23,6 @@ async function getUrlApi(email: string) {
await redis.set("inbound", JSON.stringify(inbound), "EX", 3600);
const users: ClientSettings = JSON.parse(inbound.settings);
const user = users.clients.find((user) => user.email === email);
console.log(user);
if (!user) {
throw new Error("User not found");
}