Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix(railway): unrendered variables query (#5943)
astrid689c242cbae6
diff --git a/backend/src/services/app-connection/railway/railway-connection-public-client.ts b/backend/src/services/app-connection/railway/railway-connection-public-client.tsindex 47eb3f3967..ae11cc3715 100644--- a/backend/src/services/app-connection/railway/railway-connection-public-client.ts+++ b/backend/src/services/app-connection/railway/railway-connection-public-client.ts@@ -216,9 +216,9 @@ class RailwayPublicClient {variables: { projectId: string; environmentId: string; serviceId?: string }) {const res = await this.send<TRailwayResponse<{ variables: Record<string, string> }>>(- `query variables($environmentId: String!, $projectId: String!, $serviceId: String) { variables( projectId: $projectId, environmentId: $environmentId, serviceId: $serviceId ) }`,+ `query variables($projectId: String!, $environmentId: String!, $serviceId: String, $unrendered: Boolean) { variables( projectId: $projectId, environmentId: $environmentId, serviceId: $serviceId, unrendered: $unrendered ) }`,config,- variables+ { ...variables, unrendered: true });if (!res?.variables) {