This commit is contained in:
syuilo 2018-04-10 05:02:44 +09:00
parent d822b66243
commit f635e22962
1 changed files with 2 additions and 0 deletions

View File

@ -167,6 +167,8 @@ export const pack = (
_user = deepcopy(user); _user = deepcopy(user);
} }
// TODO: ここでエラーにするのではなくダミーのユーザーデータを返す
// SEE: https://github.com/syuilo/misskey/issues/1432
if (!_user) return reject('invalid user arg.'); if (!_user) return reject('invalid user arg.');
// Me // Me