From b2f6c67aa987d755fbb939d1ce6ddf07af16cc79 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 9 May 2023 14:57:42 +0900 Subject: [PATCH] =?UTF-8?q?fix(backend):=20=E3=83=AA=E3=83=A2=E3=83=BC?= =?UTF-8?q?=E3=83=88=E3=82=B5=E3=83=BC=E3=83=90=E3=83=BC=E3=81=AE=E6=83=85?= =?UTF-8?q?=E5=A0=B1=E3=81=8C=E6=9B=B4=E6=96=B0=E3=81=A7=E3=81=8D=E3=81=AA?= =?UTF-8?q?=E3=81=84=E5=95=8F=E9=A1=8C=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix #10787 --- CHANGELOG.md | 2 +- packages/backend/src/core/FederatedInstanceService.ts | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 05f1d279af..a6239e4f2b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ - Fix: ユーザー選択ダイアログが表示されない問題を修正 ### Server -- +- Fix: リモートサーバーの情報が更新できない問題を修正 ## 13.12.0 diff --git a/packages/backend/src/core/FederatedInstanceService.ts b/packages/backend/src/core/FederatedInstanceService.ts index 2049bd4c60..8b9a87a380 100644 --- a/packages/backend/src/core/FederatedInstanceService.ts +++ b/packages/backend/src/core/FederatedInstanceService.ts @@ -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); } }