mirror of
https://github.com/hknsh/project-knedita.git
synced 2024-11-28 17:41:15 +00:00
chore: removed unused deps, simplified if cond
This commit is contained in:
parent
f1808e35b3
commit
99541fd0f2
4 changed files with 1 additions and 4 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -45,7 +45,6 @@
|
||||||
"@nestjs/throttler": "6.2.1",
|
"@nestjs/throttler": "6.2.1",
|
||||||
"@prisma/client": "^5.20.0",
|
"@prisma/client": "^5.20.0",
|
||||||
"argon2": "^0.41.1",
|
"argon2": "^0.41.1",
|
||||||
"cache-manager": "^6.1.2",
|
|
||||||
"dotenv": "^16.4.5",
|
"dotenv": "^16.4.5",
|
||||||
"dotenv-expand": "^11.0.6",
|
"dotenv-expand": "^11.0.6",
|
||||||
"file-type": "16.5.4",
|
"file-type": "16.5.4",
|
||||||
|
|
|
@ -21,7 +21,7 @@ import { UserModule } from "./users/users.module";
|
||||||
limit: 10,
|
limit: 10,
|
||||||
ttl: seconds(60),
|
ttl: seconds(60),
|
||||||
skipIf: () => {
|
skipIf: () => {
|
||||||
return Configuration.NODE_ENV() === "dev" ? true : false;
|
return Configuration.NODE_ENV() === "dev";
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
|
@ -31,8 +31,6 @@ export class KweeksService {
|
||||||
|
|
||||||
await this.kweekRepository.addAttachments(id, attachments);
|
await this.kweekRepository.addAttachments(id, attachments);
|
||||||
|
|
||||||
console.log(id);
|
|
||||||
|
|
||||||
return await this.kweekRepository.findOne(id, false);
|
return await this.kweekRepository.findOne(id, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue