fix(chart): forgot to add "not"
This commit is contained in:
parent
12293da376
commit
fa13563b75
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ export default class UsersChart extends Chart<typeof schema> { // eslint-disable
|
||||||
|
|
||||||
protected async tickMajor(): Promise<Partial<KVs<typeof schema>>> {
|
protected async tickMajor(): Promise<Partial<KVs<typeof schema>>> {
|
||||||
const [localCount, remoteCount] = await Promise.all([
|
const [localCount, remoteCount] = await Promise.all([
|
||||||
this.usersRepository.countBy({ host: IsNull(), usernameLower: Like("%.%") }),
|
this.usersRepository.countBy({ host: IsNull(), usernameLower: Not(Like('%.%')) }),
|
||||||
this.usersRepository.countBy({ host: Not(IsNull()) }),
|
this.usersRepository.countBy({ host: Not(IsNull()) }),
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue