Merge branch 'fix/instance-chche-in-user' into 'develop'

fix: fixed arguments of userInstanceCache.fetch()

Co-authored-by: HinanoAira <aira@hinasense.jp>

Closes #10985

See merge request firefish/firefish!11218
This commit is contained in:
naskya 2024-07-29 20:56:11 +00:00
commit 850488329f

View file

@ -471,6 +471,7 @@ export const UserRepository = db.getRepository(User).extend({
.fetch(
user.host,
() => Instances.findOneBy({ host: user.host! }),
false,
(v) => v != null,
)
.then((instance) =>