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:
commit
850488329f
1 changed files with 1 additions and 0 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue