From 1267788e41c859f30f40f9465cff60dc6eb7f64e Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 13 Apr 2013 14:06:08 -0400 Subject: [PATCH] fixed dashboard project --- .../Sqlite/SQLiteUserDataRepository.cs | 2 +- .../MediaBrowser.WebDashboard.csproj | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserDataRepository.cs b/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserDataRepository.cs index 4df81aacca..8124733e52 100644 --- a/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserDataRepository.cs +++ b/MediaBrowser.Server.Implementations/Sqlite/SQLiteUserDataRepository.cs @@ -233,7 +233,7 @@ namespace MediaBrowser.Server.Implementations.Sqlite var cmd = connection.CreateCommand(); cmd.CommandText = "select data from userdata where key = @key and userId=@userId"; - var idParam = cmd.Parameters.Add("@key", DbType.Guid); + var idParam = cmd.Parameters.Add("@key", DbType.String); idParam.Value = key; var userIdParam = cmd.Parameters.Add("@userId", DbType.Guid); diff --git a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj index 6f4d675edf..4aaa0e3d49 100644 --- a/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj +++ b/MediaBrowser.WebDashboard/MediaBrowser.WebDashboard.csproj @@ -296,13 +296,16 @@ PreserveNewest - + PreserveNewest - + PreserveNewest - + + PreserveNewest + + PreserveNewest