mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-27 14:28:59 +09:00
fix(backend): アドレス入力で直接ユーザのプロフィールページを表示した際、前提データが足りず描画に失敗する
This commit is contained in:
parent
872cefcfb8
commit
103233d5b8
@ -585,7 +585,10 @@ export class ClientServerService {
|
||||
reply.header('X-Robots-Tag', 'noai');
|
||||
}
|
||||
|
||||
const _user = await this.userEntityService.pack(user);
|
||||
const _user = await this.userEntityService.pack(user, null, {
|
||||
schema: 'UserDetailed',
|
||||
userProfile: profile,
|
||||
});
|
||||
|
||||
return await reply.view('user', {
|
||||
user, profile, me,
|
||||
|
Loading…
Reference in New Issue
Block a user