diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-01-04 16:01:31 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-04 08:01:31 -0700 |
| commit | 69a51c425acef65c229e95f2c361226bd81d64c5 (patch) | |
| tree | 6b75eaee7de9a4fe5325135c2256a42ea791fedb /Jellyfin.Api/Attributes | |
| parent | c62f642b384ede386d38cba45f0f3c873ecf5866 (diff) | |
Fix all warnings in Jellyfin.Api (#9003)
Diffstat (limited to 'Jellyfin.Api/Attributes')
| -rw-r--r-- | Jellyfin.Api/Attributes/AcceptsFileAttribute.cs | 2 | ||||
| -rw-r--r-- | Jellyfin.Api/Attributes/ProducesFileAttribute.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Jellyfin.Api/Attributes/AcceptsFileAttribute.cs b/Jellyfin.Api/Attributes/AcceptsFileAttribute.cs index 58552d847..fbe68b6b9 100644 --- a/Jellyfin.Api/Attributes/AcceptsFileAttribute.cs +++ b/Jellyfin.Api/Attributes/AcceptsFileAttribute.cs @@ -25,6 +25,6 @@ namespace Jellyfin.Api.Attributes /// Gets the configured content types. /// </summary> /// <returns>the configured content types.</returns> - public string[] GetContentTypes() => _contentTypes; + public string[] ContentTypes => _contentTypes; } } diff --git a/Jellyfin.Api/Attributes/ProducesFileAttribute.cs b/Jellyfin.Api/Attributes/ProducesFileAttribute.cs index 2bf77d729..d8e4141ac 100644 --- a/Jellyfin.Api/Attributes/ProducesFileAttribute.cs +++ b/Jellyfin.Api/Attributes/ProducesFileAttribute.cs @@ -25,6 +25,6 @@ namespace Jellyfin.Api.Attributes /// Gets the configured content types. /// </summary> /// <returns>the configured content types.</returns> - public string[] GetContentTypes() => _contentTypes; + public string[] ContentTypes => _contentTypes; } } |
