Skip to content

The Free Software Media System - Server Backend & API

Update Emby.Server.Implementations/Data/SqliteItemRepository.cs

Andrew Mahoned6aa02ff09e2
diff --git a/Emby.Server.Implementations/Data/SqliteItemRepository.cs b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
index ba75488fb7..a63052a68c 100644
--- a/Emby.Server.Implementations/Data/SqliteItemRepository.cs
+++ b/Emby.Server.Implementations/Data/SqliteItemRepository.cs
@@ -60,6 +60,7 @@ namespace Emby.Server.Implementations.Data
queryPrefixText.Append(column);
queryPrefixText.Append(',');
}
+
queryPrefixText.Length -= 1;
queryPrefixText.Append(") values ");
_mediaAttachmentInsertPrefix = queryPrefixText.ToString();