1
0
forked from mirror/misskey

fix(backend): 連合限定先が間違って連合しない先に代入されているのを修正 (#14662)

* fix(backend): 連合限定先が間違って連合しない先に代入されているのを修正

* build: fix property typo
This commit is contained in:
Kisaragi 2024-10-03 17:05:14 +09:00 committed by GitHub
parent 1e9813e19e
commit a722ea8ccd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);