fix progress sync
authorRadek Czajka <rczajka@rczajka.pl>
Tue, 19 Aug 2025 13:22:47 +0000 (15:22 +0200)
committerRadek Czajka <rczajka@rczajka.pl>
Tue, 19 Aug 2025 13:22:47 +0000 (15:22 +0200)
src/social/models.py

index 2692538..b0f2f7f 100644 (file)
@@ -244,7 +244,8 @@ class Progress(Syncable, models.Model):
     def create_from_data(cls, user, data):
         return cls.objects.create(
             user=user,
     def create_from_data(cls, user, data):
         return cls.objects.create(
             user=user,
-            book=data['book']
+            book=data['book'],
+            reported_timestamp=now(),
         )
         
     def save(self, *args, **kwargs):
         )
         
     def save(self, *args, **kwargs):