Fixed missing projectId

X-Lovable-Edit-ID: edt-1184b623-2a84-4919-83a4-6250a4956ac8
Co-authored-by: domfelipe <53182096+domfelipe@users.noreply.github.com>
This commit is contained in:
gpt-engineer-app[bot] 2026-04-27 15:10:59 +00:00
commit 259cfa685b
2 changed files with 3 additions and 0 deletions

View file

@ -75,6 +75,7 @@ export async function configureRailwayService(opts: {
token: string; token: string;
serviceId: string; serviceId: string;
environmentId: string; environmentId: string;
projectId?: string;
image: string; image: string;
variables: Record<string, string>; variables: Record<string, string>;
startCommand?: string; startCommand?: string;
@ -109,6 +110,7 @@ export async function configureRailwayService(opts: {
token: opts.token, token: opts.token,
serviceId: opts.serviceId, serviceId: opts.serviceId,
environmentId: opts.environmentId, environmentId: opts.environmentId,
projectId: opts.projectId,
name, name,
value, value,
}); });

View file

@ -252,6 +252,7 @@ Deno.serve(async (req) => {
token: RAILWAY_API_TOKEN, token: RAILWAY_API_TOKEN,
serviceId: railwayServiceId, serviceId: railwayServiceId,
environmentId: pool.railway_environment_id, environmentId: pool.railway_environment_id,
projectId: pool.railway_project_id,
image: "ghcr.io/domfelipe/hermes-agent-custom:latest", image: "ghcr.io/domfelipe/hermes-agent-custom:latest",
variables: envVars, variables: envVars,
}); });