Fixed the extension method

This commit is contained in:
tsommer committed 2025-02-18 13:12:33 +01:00
1 parent 4f336960bd
commit a9bf3d5f75
1 file changed
+1 -1
@@ -9,7 +9,7 @@ public static class RetrievalContentCategoryExtensions
/// </summary>
/// <param name="contentType">The content type yielded by the ERI server.</param>
/// <returns>The corresponding retrieval content category.</returns>
public static RetrievalContentCategory ToRetrievalContentCategory(ContentType contentType) => contentType switch
public static RetrievalContentCategory ToRetrievalContentCategory(this ContentType contentType) => contentType switch
{
ContentType.NONE => RetrievalContentCategory.NONE,
ContentType.UNKNOWN => RetrievalContentCategory.UNKNOWN,