Преглед изворни кода

Merge pull request #1976 from MediaBrowser/dev

Dev
Luke пре 9 година
родитељ
комит
7a3c6cab08

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

@@ -31,11 +31,9 @@ namespace MediaBrowser.Api.Dlna
         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
     {
-        [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")]
@@ -89,4 +87,4 @@ namespace MediaBrowser.Api.Dlna
             _dlnaManager.CreateProfile(request);
         }
     }
-}
+}

+ 3 - 0
MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj

@@ -125,6 +125,9 @@
     <Content Include="dashboard-ui\components\filterdialog\style.css">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>
+    <Content Include="dashboard-ui\components\groupedcards.js">
+      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
+    </Content>
     <Content Include="dashboard-ui\components\guestinviter\connectlink.js">
       <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
     </Content>