Traewelling / traewelling

Free check-in service to log your public transit journeys
https://traewelling.de
GNU Affero General Public License v3.0
225 stars 43 forks source link

API: `/statuses/{statusIds}1/tags` endpoint returns 500 when tags only requested for single id #2044

Closed marhei closed 8 months ago

marhei commented 8 months ago
Capture d’écran 2023-10-16 à 20 18 56

Workaround: Send the same status id separated by comma to the endpoint to get tags for only one status.

MrKrisKrisu commented 8 months ago
production.ERROR: App\Http\Controllers\API\v1\StatusTagController::indexForMultiple(): Return value must be of type Illuminate\Http\JsonResponse, none returned {"userId":xxx,"exception":"[object] (TypeError(code: 0): App\\Http\\Controllers\\API\\v1\\StatusTagController::indexForMultiple(): Return value must be of type Illuminate\\Http\\JsonResponse, none returned at /var/www/traewelling-prod/app/Http/Controllers/API/v1/StatusTagController.php:140)