配信停止したインスタンス一覧が見れなくなる問題を修正 (#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 ## Unreleased
### General ### General
- - Fix: 配信停止したインスタンス一覧が見れなくなる問題を修正
### Client ### Client
- -

View file

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