fix: should use filter
instead of where
(#2318)
This commit is contained in:
parent
78bfcba24f
commit
07ff868133
@ -41,7 +41,7 @@ export class TokenBlacklistService implements ITokenBlacklistService {
|
|||||||
|
|
||||||
async has(token: string) {
|
async has(token: string) {
|
||||||
return !!(await this.repo.findOne({
|
return !!(await this.repo.findOne({
|
||||||
where: {
|
filter: {
|
||||||
token,
|
token,
|
||||||
},
|
},
|
||||||
}));
|
}));
|
||||||
|
Loading…
Reference in New Issue
Block a user