配信停止したインスタンス一覧が見れなくなる問題を修正 (#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
2 changed files with 3 additions and 3 deletions

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\'');
}
}