Use actual sync for bookmarks.
[wolnelektury.git] / src / catalogue / api / views.py
index 7457b6f..0f3a95f 100644 (file)
@@ -259,7 +259,7 @@ class BookSyncView(RetrieveAPIView):
         instance = self.get_object()
         return Response([
             {"id": i, "timestamp": ts}
-            for (i, ts) in json.loads(instance.get_sync())
+            for (i, ts) in instance.get_sync()
         ])