Skip to content

Commit

Permalink
配信停止したインスタンス一覧が見れなくなる問題を修正 (misskey-dev#13945)
Browse files Browse the repository at this point in the history
* 配信停止したインスタンス一覧が見れなくなる問題を修正

* Update CHANGELOG.md
  • Loading branch information
GrapeApple0 authored and adzukimame committed Jun 28, 2024
1 parent 28983ff commit ccf1f3c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Unreleased

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

### Client
-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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\'');
}
}

Expand Down

0 comments on commit ccf1f3c

Please sign in to comment.