♻️ refactor: remove stale code and comments

This commit is contained in:
2026-08-13 02:19:25 +07:00
parent 913c18b6b7
commit b58488c1b9
15 changed files with 10 additions and 48 deletions
@@ -95,7 +95,6 @@ export class PrismaReverseProxyRepository implements ReverseProxyRepository {
throw new NotFoundError("ReverseProxyServer", id);
}
// Update proxy fields
const updated = await prisma.reverseProxyServer.update({
where: { id },
data: {
@@ -107,12 +107,10 @@ export class PrismaServerRepository implements ServerRepository {
throw new NotFoundError("Server", id);
}
// Handle env variables separately
if (input.env_variables !== undefined) {
await this.replaceEnvVariables(id, input.env_variables);
}
// Update server fields
const updated = await prisma.server.update({
where: { id },
data: {