mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-05 19:52:15 +00:00
refactor: enhance project and environment handling across components and services by replacing projectId with environmentId, improving context clarity and authorization checks
This commit is contained in:
@@ -13,7 +13,7 @@ export const buildHeroku = async (
|
||||
const buildAppDirectory = getBuildAppDirectory(application);
|
||||
const envVariables = prepareEnvironmentVariables(
|
||||
env,
|
||||
application.project.env,
|
||||
application.environment.project.env,
|
||||
);
|
||||
try {
|
||||
const args = [
|
||||
@@ -53,7 +53,7 @@ export const getHerokuCommand = (
|
||||
const buildAppDirectory = getBuildAppDirectory(application);
|
||||
const envVariables = prepareEnvironmentVariables(
|
||||
env,
|
||||
application.project.env,
|
||||
application.environment.project.env,
|
||||
);
|
||||
|
||||
const args = [
|
||||
|
||||
Reference in New Issue
Block a user