The Free Software Media System - Server Backend & API
fix dlna update profile
YounJae Rho1bc0c1481e32
diff --git a/MediaBrowser.Api/Dlna/DlnaService.cs b/MediaBrowser.Api/Dlna/DlnaService.csindex b6c4f5dfba..92ef8722ed 100644--- a/MediaBrowser.Api/Dlna/DlnaService.cs+++ b/MediaBrowser.Api/Dlna/DlnaService.cs@@ -31,11 +31,11 @@ namespace MediaBrowser.Api.Dlnapublic 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; }+ [ApiMember(Name = "Id", Description = "Profile Id", IsRequired = true, DataType = "string", ParameterType = "path", Verb = "GET")]+ public string Id { get; set; }}[Route("/Dlna/Profiles", "POST", Summary = "Creates a profile")]