mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-19 13:31:43 +02:00
add missing using
This commit is contained in:
parent
493229cc15
commit
f2d7842563
1 changed files with 1 additions and 1 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue