diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-27 23:51:32 -0500 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-02-27 23:51:32 -0500 |
| commit | c177de940766f3f3aa228e789003185bf388c200 (patch) | |
| tree | 40dbdbb25ed0946325cf13beb5fa848be7fd6381 /MediaBrowser.Api/AppThemeService.cs | |
| parent | 83619ef25a64c9a82d8af992a6a02811b70ddadf (diff) | |
rename cache tag param
Diffstat (limited to 'MediaBrowser.Api/AppThemeService.cs')
| -rw-r--r-- | MediaBrowser.Api/AppThemeService.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MediaBrowser.Api/AppThemeService.cs b/MediaBrowser.Api/AppThemeService.cs index 3115fbb36..d1819cce4 100644 --- a/MediaBrowser.Api/AppThemeService.cs +++ b/MediaBrowser.Api/AppThemeService.cs @@ -41,8 +41,8 @@ namespace MediaBrowser.Api [ApiMember(Name = "Name", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")] public string Name { get; set; } - [ApiMember(Name = "Tag", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")] - public string Tag { get; set; } + [ApiMember(Name = "CacheTag", IsRequired = false, DataType = "string", ParameterType = "query", Verb = "GET")] + public string CacheTag { get; set; } } [Route("/Themes", "POST")] @@ -89,7 +89,7 @@ namespace MediaBrowser.Api TimeSpan? cacheDuration = null; - if (!string.IsNullOrEmpty(request.Tag) && cacheGuid == new Guid(request.Tag)) + if (!string.IsNullOrEmpty(request.CacheTag) && cacheGuid == new Guid(request.CacheTag)) { cacheDuration = TimeSpan.FromDays(365); } |
