Skip to content

Commit

Permalink
fix(backend): 連合限定先が間違って連合しない先に代入されているのを修正 (misskey-dev#14662)
Browse files Browse the repository at this point in the history
* fix(backend): 連合限定先が間違って連合しない先に代入されているのを修正

* build: fix property typo
  • Loading branch information
KisaragiEffective authored and liumingye committed Nov 1, 2024
1 parent a3ab86c commit 16a9542
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}

if (Array.isArray(ps.federationHosts)) {
set.blockedHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
set.federationHosts = ps.federationHosts.filter(Boolean).map(x => x.toLowerCase());
}

const before = await this.metaService.fetch(true);
Expand Down

0 comments on commit 16a9542

Please sign in to comment.