diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-11-15 14:35:34 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-15 14:35:34 -0500 |
| commit | 2f426dfc97677deffb60420078b20a7f5f03977e (patch) | |
| tree | 89772dd894e735d657522105a29884d2117a5bfa /Jellyfin.Api/Controllers/PackageController.cs | |
| parent | 7caf1662eca2ea8826f3277e8b9d5c8c782fd03d (diff) | |
| parent | 056c44010b437b0f718cb10b1ed66a7f38d61874 (diff) | |
Merge pull request #4458 from crobibero/dotnet-5
Upgrade to Net5
Diffstat (limited to 'Jellyfin.Api/Controllers/PackageController.cs')
| -rw-r--r-- | Jellyfin.Api/Controllers/PackageController.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Jellyfin.Api/Controllers/PackageController.cs b/Jellyfin.Api/Controllers/PackageController.cs index d7c6a484a..1f797d6bc 100644 --- a/Jellyfin.Api/Controllers/PackageController.cs +++ b/Jellyfin.Api/Controllers/PackageController.cs @@ -54,6 +54,11 @@ namespace Jellyfin.Api.Controllers string.IsNullOrEmpty(assemblyGuid) ? default : Guid.Parse(assemblyGuid)) .FirstOrDefault(); + if (result == null) + { + return NotFound(); + } + return result; } |
