add missing using

This commit is contained in:
cvium 2023-08-21 12:29:20 +02:00
parent 493229cc15
commit f2d7842563

View File

@ -2066,7 +2066,7 @@ namespace Emby.Server.Implementations.Data
db =>
{
// First delete chapters
var command = db.PrepareStatement($"delete from {ChaptersTableName} where ItemId=@ItemId");
using var command = db.PrepareStatement($"delete from {ChaptersTableName} where ItemId=@ItemId");
command.TryBind("@ItemId", id);
command.ExecuteNonQuery();