refactor(dokploy): remove validation

This commit is contained in:
Mauricio Siu
2024-10-30 10:33:46 -06:00
parent 3a9698c3a3
commit 97715a47b3

View File

@@ -359,14 +359,6 @@ export const composeRouter = createTRPCRouter({
const admin = await findAdminById(ctx.user.adminId);
let serverIp = admin.serverIp;
if (!admin.serverIp) {
throw new TRPCError({
code: "NOT_FOUND",
message:
"You need to have a server IP to deploy this template in order to generate domains",
});
}
const project = await findProjectById(input.projectId);
if (input.serverId) {