fix: should use filter instead of where (#2318)

This commit is contained in:
Dunqing 2023-07-25 21:51:23 +08:00 committed by GitHub
parent 78bfcba24f
commit 07ff868133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,7 +41,7 @@ export class TokenBlacklistService implements ITokenBlacklistService {
async has(token: string) {
return !!(await this.repo.findOne({
where: {
filter: {
token,
},
}));