move reattaching user data to own function and call it only after fetching metadata for the first time

This commit is contained in:
MarcoCoreDuo
2025-12-30 20:09:53 +01:00
parent 78e3702cb0
commit e4b82025b8
7 changed files with 49 additions and 17 deletions

View File

@@ -35,6 +35,13 @@ public interface IItemRepository
void SaveImages(BaseItem item);
/// <summary>
/// Reattaches the user data to the item.
/// </summary>
/// <param name="item">The item.</param>
/// <param name="cancellationToken">The cancellation token.</param>
void ReattachUserData(BaseItem item, CancellationToken cancellationToken);
/// <summary>
/// Retrieves the item.
/// </summary>