Browse Source

restore grouped card click handler

Luke Pulverenti 9 years ago
parent
commit
faa425003f
1 changed files with 2 additions and 4 deletions
  1. 2 4
      MediaBrowser.Api/Dlna/DlnaService.cs

+ 2 - 4
MediaBrowser.Api/Dlna/DlnaService.cs

@@ -31,11 +31,9 @@ namespace MediaBrowser.Api.Dlna
         public string Id { get; set; }
         public string Id { get; set; }
     }
     }
 
 
-    [Route("/Dlna/Profiles/{ProfileId}", "POST", Summary = "Updates a profile")]
+    [Route("/Dlna/Profiles/{Id}", "POST", Summary = "Updates a profile")]
     public class UpdateProfile : DeviceProfile, IReturnVoid
     public class UpdateProfile : DeviceProfile, IReturnVoid
     {
     {
-        [ApiMember(Name = "ProfileId", Description = "Profile Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]
-        public string ProfileId { get; set; }
     }
     }
 
 
     [Route("/Dlna/Profiles", "POST", Summary = "Creates a profile")]
     [Route("/Dlna/Profiles", "POST", Summary = "Creates a profile")]
@@ -89,4 +87,4 @@ namespace MediaBrowser.Api.Dlna
             _dlnaManager.CreateProfile(request);
             _dlnaManager.CreateProfile(request);
         }
         }
     }
     }
-}
+}