Skip to content

Commit

Permalink
fix(backend): リモートサーバーの情報が更新できない問題を修正
Browse files Browse the repository at this point in the history
Fix #10787
  • Loading branch information
syuilo committed May 9, 2023
1 parent 1c0ec22 commit b2f6c67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- Fix: ユーザー選択ダイアログが表示されない問題を修正

### Server
-
- Fix: リモートサーバーの情報が更新できない問題を修正

## 13.12.0

Expand Down
4 changes: 1 addition & 3 deletions packages/backend/src/core/FederatedInstanceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,7 @@ export class FederatedInstanceService {
.then((response) => {
return response.raw[0];
});

const updated = result.raw[0];

this.federatedInstanceCache.set(updated.host, updated);
this.federatedInstanceCache.set(result.host, result);
}
}

0 comments on commit b2f6c67

Please sign in to comment.