mirror of
https://github.com/domfelipe/mika-agent-assist.git
synced 2026-08-07 09:16:46 +00:00
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:
commit
259cfa685b
2 changed files with 3 additions and 0 deletions
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -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,
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue