Skip to content

Commit

Permalink
fix(backend/api): federationHostsがblockedHostsとして代入される問題 (#279)
Browse files Browse the repository at this point in the history
  • Loading branch information
taiyme authored Oct 3, 2024
1 parent cea7ea2 commit 53277f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,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 53277f2

Please sign in to comment.