forked from mirror/pixelfed
Update ApiV1Controller, fix mute/block entities
This commit is contained in:
parent
20d9f8b890
commit
364adb4387
1 changed files with 4 additions and 2 deletions
|
@ -895,7 +895,8 @@ class ApiV1Controller extends Controller
|
|||
})
|
||||
->filter(function($account) {
|
||||
return $account && isset($account['id']);
|
||||
});
|
||||
})
|
||||
->values();
|
||||
|
||||
return $this->json($blocked);
|
||||
}
|
||||
|
@ -1757,7 +1758,8 @@ class ApiV1Controller extends Controller
|
|||
})
|
||||
->filter(function($account) {
|
||||
return $account && isset($account['id']);
|
||||
});
|
||||
})
|
||||
->values();
|
||||
|
||||
return $this->json($mutes);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue