diff --git a/apps/server/src/shared/repo/teams/teams.repo.ts b/apps/server/src/shared/repo/teams/teams.repo.ts index f8b8f1e222a..4e10c60fe69 100644 --- a/apps/server/src/shared/repo/teams/teams.repo.ts +++ b/apps/server/src/shared/repo/teams/teams.repo.ts @@ -10,10 +10,8 @@ export class TeamsRepo extends BaseRepo { return TeamEntity; } - cacheExpiration = 60000; - async findById(id: EntityId, populate = false): Promise { - const team = await this._em.findOneOrFail(TeamEntity, { id }, { cache: this.cacheExpiration }); + const team = await this._em.findOneOrFail(TeamEntity, { id }); if (populate) { await Promise.all(