Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

Don't throw an exception when we are trying to save progress and there is nothing new to save. (#1016)

Joseph Milazzo4e7d1433d1a3
diff --git a/API/Services/ReaderService.cs b/API/Services/ReaderService.cs
index c59cd8549..847df6004 100644
--- a/API/Services/ReaderService.cs
+++ b/API/Services/ReaderService.cs
@@ -174,6 +174,7 @@ public class ReaderService : IReaderService
_unitOfWork.AppUserProgressRepository.Update(userProgress);
}
+ if (!_unitOfWork.HasChanges()) return true;
if (await _unitOfWork.CommitAsync())
{
return true;