mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
misc: added support for type
This commit is contained in:
@@ -134,7 +134,7 @@ export const integrationAuthServiceFactory = ({
|
||||
})
|
||||
);
|
||||
|
||||
return filteredAuthorizations.filter((auth) => auth !== null);
|
||||
return filteredAuthorizations.filter((auth): auth is NonNullable<typeof auth> => auth !== null);
|
||||
};
|
||||
|
||||
const getIntegrationAuth = async ({ actor, id, actorId, actorAuthMethod, actorOrgId }: TGetIntegrationAuthDTO) => {
|
||||
|
||||
Reference in New Issue
Block a user