浏览代码

fixed typos

Luke Pulverenti 12 年之前
父节点
当前提交
244be95e75
共有 1 个文件被更改,包括 8 次插入8 次删除
  1. 8 8
      MediaBrowser.Api/UserLibrary/ItemsService.cs

+ 8 - 8
MediaBrowser.Api/UserLibrary/ItemsService.cs

@@ -144,15 +144,15 @@ namespace MediaBrowser.Api.UserLibrary
         /// Gets or sets the min offical rating.
         /// Gets or sets the min offical rating.
         /// </summary>
         /// </summary>
         /// <value>The min offical rating.</value>
         /// <value>The min offical rating.</value>
-        [ApiMember(Name = "MinOfficalRating", Description = "Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
-        public string MinOfficalRating { get; set; }
+        [ApiMember(Name = "MinOfficialRating", Description = "Optional filter by minimum official rating (PG, PG-13, TV-MA, etc).", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
+        public string MinOfficialRating { get; set; }
 
 
         /// <summary>
         /// <summary>
         /// Gets or sets the max offical rating.
         /// Gets or sets the max offical rating.
         /// </summary>
         /// </summary>
         /// <value>The max offical rating.</value>
         /// <value>The max offical rating.</value>
-        [ApiMember(Name = "MaxOfficalRating", Description = "Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
-        public string MaxOfficalRating { get; set; }
+        [ApiMember(Name = "MaxOfficialRating", Description = "Optional filter by maximum official rating (PG, PG-13, TV-MA, etc).", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")]
+        public string MaxOfficialRating { get; set; }
         
         
         /// <summary>
         /// <summary>
         /// Gets the order by.
         /// Gets the order by.
@@ -413,17 +413,17 @@ namespace MediaBrowser.Api.UserLibrary
             }
             }
 
 
             // Min official rating
             // Min official rating
-            if (!string.IsNullOrEmpty(request.MinOfficalRating))
+            if (!string.IsNullOrEmpty(request.MinOfficialRating))
             {
             {
-                var level = Ratings.Level(request.MinOfficalRating);
+                var level = Ratings.Level(request.MinOfficialRating);
 
 
                 items = items.Where(i => Ratings.Level(i.CustomRating ?? i.OfficialRating) >= level);
                 items = items.Where(i => Ratings.Level(i.CustomRating ?? i.OfficialRating) >= level);
             }
             }
 
 
             // Max official rating
             // Max official rating
-            if (!string.IsNullOrEmpty(request.MaxOfficalRating))
+            if (!string.IsNullOrEmpty(request.MaxOfficialRating))
             {
             {
-                var level = Ratings.Level(request.MaxOfficalRating);
+                var level = Ratings.Level(request.MaxOfficialRating);
 
 
                 items = items.Where(i => Ratings.Level(i.CustomRating ?? i.OfficialRating) <= level);
                 items = items.Where(i => Ratings.Level(i.CustomRating ?? i.OfficialRating) <= level);
             }
             }