mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-16 05:13:43 +00:00
Fix client-side railway integration issue
This commit is contained in:
@@ -297,6 +297,7 @@ const fetchIntegrationAuthRailwayEnvironments = async ({
|
||||
integrationAuthId: string;
|
||||
appId: string;
|
||||
}) => {
|
||||
if (appId === "none") return [];
|
||||
const {
|
||||
data: { environments }
|
||||
} = await apiRequest.get<{ environments: Environment[] }>(
|
||||
@@ -318,6 +319,11 @@ const fetchIntegrationAuthRailwayServices = async ({
|
||||
integrationAuthId: string;
|
||||
appId: string;
|
||||
}) => {
|
||||
// console.log('fetchIntegrationAuthRailwayServices params: ', {
|
||||
// integrationAuthId,
|
||||
// appId
|
||||
// });
|
||||
if (appId === "none") return [];
|
||||
const {
|
||||
data: { services }
|
||||
} = await apiRequest.get<{ services: Service[] }>(
|
||||
|
||||
Reference in New Issue
Block a user