fix(chart): forgot to add "not"

This commit is contained in:
무라쿠모 2024-06-20 09:38:28 +09:00
parent 12293da376
commit fa13563b75
No known key found for this signature in database
GPG key ID: 139D6573F92DA9F7

View file

@ -37,7 +37,7 @@ export default class UsersChart extends Chart<typeof schema> { // eslint-disable
protected async tickMajor(): Promise<Partial<KVs<typeof schema>>> {
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()) }),
]);