mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-02-01 02:49:18 +01:00
a8162b57ba
This patch updates the batch progress update endpoint to respond with a `400 Bad Request` instead of a `500 Internal Server Error` if a user sends an invalid request with no body. This is a user error after all. ``` ❯ curl -i -X PATCH \ 'http://127.0.0.1:3333/api/me/progress/batch/update' \ -H 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5Q_MoRptP0oI' \ -H 'Content-Type: application/json' HTTP/1.1 400 Bad Request … Missing request payload ``` |
||
---|---|---|
.. | ||
AuthorController.js | ||
BackupController.js | ||
CacheController.js | ||
CollectionController.js | ||
FileSystemController.js | ||
LibraryController.js | ||
LibraryItemController.js | ||
MeController.js | ||
MiscController.js | ||
NotificationController.js | ||
PodcastController.js | ||
SearchController.js | ||
SeriesController.js | ||
SessionController.js | ||
ToolsController.js | ||
UserController.js |