配信停止したインスタンス一覧が見れなくなる問題を修正 (#13945)

* 配信停止したインスタンス一覧が見れなくなる問題を修正

* Update CHANGELOG.md
This commit is contained in:
Porlam Nicla 2024-06-07 14:46:46 +09:00 committed by GitHub
parent 8592716139
commit e0cf5b2402
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
## Unreleased
### General
-
- Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
### Client
-

View File

@ -117,9 +117,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
if (typeof ps.suspended === 'boolean') {
if (ps.suspended) {
query.andWhere('instance.isSuspended = TRUE');
query.andWhere('instance.suspensionState != \'none\'');
} else {
query.andWhere('instance.isSuspended = FALSE');
query.andWhere('instance.suspensionState = \'none\'');
}
}