mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-15 07:35:09 +00:00
Avoid throwing forbidden on non accessible resources and return an empty response for those
This commit is contained in:
@@ -167,7 +167,6 @@ export const useGetImportedSecretsAllEnvs = ({
|
||||
select: useCallback(
|
||||
(data: Awaited<ReturnType<typeof fetchImportedSecrets>>) =>
|
||||
data.map((el) => ({
|
||||
currentEnv: env,
|
||||
environment: el.environment,
|
||||
secretPath: el.secretPath,
|
||||
environmentInfo: el.environmentInfo,
|
||||
|
||||
Reference in New Issue
Block a user