mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-17 14:40:39 +00:00
fix: gateway improvements
This commit is contained in:
@@ -719,7 +719,8 @@ export const identityKubernetesAuthServiceFactory = ({
|
||||
);
|
||||
}
|
||||
|
||||
const shouldUpdateGatewayId = Boolean(gatewayId);
|
||||
// Strict check to see if gateway ID is undefined. It should update the gateway ID to null if its strictly set to null.
|
||||
const shouldUpdateGatewayId = Boolean(gatewayId !== undefined);
|
||||
const gatewayIdValue = isGatewayV1 ? gatewayId : null;
|
||||
const gatewayV2IdValue = isGatewayV1 ? null : gatewayId;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user