diff --git a/bun.lockb b/bun.lockb index f203488..8f3b9f0 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 1a8dfd0..42a1ebe 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,6 @@ "@nestjs/throttler": "6.2.1", "@prisma/client": "^5.20.0", "argon2": "^0.41.1", - "cache-manager": "^6.1.2", "dotenv": "^16.4.5", "dotenv-expand": "^11.0.6", "file-type": "16.5.4", diff --git a/src/app.module.ts b/src/app.module.ts index 8945cb2..b59e114 100644 --- a/src/app.module.ts +++ b/src/app.module.ts @@ -21,7 +21,7 @@ import { UserModule } from "./users/users.module"; limit: 10, ttl: seconds(60), skipIf: () => { - return Configuration.NODE_ENV() === "dev" ? true : false; + return Configuration.NODE_ENV() === "dev"; }, }, ], diff --git a/src/kweeks/kweeks.service.ts b/src/kweeks/kweeks.service.ts index e9bdb1e..947e256 100644 --- a/src/kweeks/kweeks.service.ts +++ b/src/kweeks/kweeks.service.ts @@ -31,8 +31,6 @@ export class KweeksService { await this.kweekRepository.addAttachments(id, attachments); - console.log(id); - return await this.kweekRepository.findOne(id, false); }