fix: Subscription filter not working when using types=all parameter

This commit is contained in:
xboard 2025-07-07 03:14:21 +08:00
parent 90cfaf3457
commit ebd0d3c632

View File

@ -82,7 +82,7 @@ class ClientController extends Controller
*/ */
private function parseRequestedTypes(?string $typeInputString): array private function parseRequestedTypes(?string $typeInputString): array
{ {
if (blank($typeInputString)) { if (blank($typeInputString) || $typeInputString === 'all') {
return Server::VALID_TYPES; return Server::VALID_TYPES;
} }