diff options
| author | crobibero <cody@robibe.ro> | 2020-06-21 11:34:05 -0600 |
|---|---|---|
| committer | crobibero <cody@robibe.ro> | 2020-06-21 11:34:05 -0600 |
| commit | 38788a1f1d3b605b2d4443c3467e345597a87697 (patch) | |
| tree | bb42252d7d7c5c16f4fc431698e7504b75d76291 /Jellyfin.Api/Controllers/DevicesController.cs | |
| parent | 45234e5ecd787c4d2e9aadae8459917f3baee045 (diff) | |
| parent | 3bf19d1e938a13dd2a507a320b08a12793ff3443 (diff) | |
Merge remote-tracking branch 'upstream/api-migration' into api-library
Diffstat (limited to 'Jellyfin.Api/Controllers/DevicesController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/DevicesController.cs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/DevicesController.cs b/Jellyfin.Api/Controllers/DevicesController.cs index 78368eed6..55ca7b7c0 100644 --- a/Jellyfin.Api/Controllers/DevicesController.cs +++ b/Jellyfin.Api/Controllers/DevicesController.cs @@ -133,6 +133,7 @@ namespace Jellyfin.Api.Controllers /// <returns>A <see cref="NoContentResult"/> on success, or a <see cref="NotFoundResult"/> if the device could not be found.</returns> [HttpDelete] [ProducesResponseType(StatusCodes.Status204NoContent)] + [ProducesResponseType(StatusCodes.Status404NotFound)] public ActionResult DeleteDevice([FromQuery, BindRequired] string id) { var existingDevice = _deviceManager.GetDevice(id); |
