mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-26 00:05:34 +02:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -62,7 +62,6 @@ export const findEnvironmentsByProjectId = async (projectId: string) => {
|
||||
};
|
||||
|
||||
export const deleteEnvironment = async (environmentId: string) => {
|
||||
|
||||
const currentEnvironment = await findEnvironmentById(environmentId);
|
||||
if (currentEnvironment.name === "production") {
|
||||
throw new TRPCError({
|
||||
|
||||
Reference in New Issue
Block a user