diff --git a/packages/reva-api/infra/cron.ts b/packages/reva-api/infra/cron.ts index 254bf5559..c09a38e2f 100644 --- a/packages/reva-api/infra/cron.ts +++ b/packages/reva-api/infra/cron.ts @@ -78,7 +78,7 @@ const aapListUnifvae = CronJob.from({ timeZone: "Europe/Paris", }); -export async function runBatchIfActive({ +async function runBatchIfActive({ batchKey, batchCallback, }: { diff --git a/packages/reva-api/infra/server/plugins/keycloak-plugin.ts b/packages/reva-api/infra/server/plugins/keycloak-plugin.ts index 3f6e06322..11f0e7f0b 100644 --- a/packages/reva-api/infra/server/plugins/keycloak-plugin.ts +++ b/packages/reva-api/infra/server/plugins/keycloak-plugin.ts @@ -15,7 +15,7 @@ declare module "fastify" { } } -export interface KeycloakConnectUserInfo { +interface KeycloakConnectUserInfo { realm_access?: { roles: KeyCloakUserRole[]; };