Fixes and stuff

This commit is contained in:
Isaac
2022-07-17 22:33:42 +01:00
parent 3aa9a9b2c6
commit 24d5e6d99d
9 changed files with 198 additions and 43 deletions

View File

@@ -36,7 +36,7 @@ module.exports = class Client extends FrameworkClient {
async login(token) {
/** @type {PrismaClient} */
this.prisma = new PrismaClient();
this.prisma.$use(middleware);
this.prisma.$use(middleware(this.log));
this.keyv = new Keyv();
return super.login(token);
}