Skip to content

Commit

Permalink
fix(backend): リモートサーバーの情報が更新できない問題を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
syuilo authored and na2na-p committed May 10, 2023
1 parent 3f40542 commit ecdc10b
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 ecdc10b

Please sign in to comment.