mirror of
https://github.com/paricafe/misskey.git
synced 2024-12-01 05:16:44 -06:00
Fix error
This commit is contained in:
parent
7612ead551
commit
6656a59402
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||||
getHideUserIds(user)
|
getHideUserIds(user)
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
if (list == null) {
|
||||||
|
rej('list not found');
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
if (list.userIds.length == 0) {
|
if (list.userIds.length == 0) {
|
||||||
res([]);
|
res([]);
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in a new issue