X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/37cb52d2e87c491ded0b1f090afd403deaa5e616..d08ac1730868531e81bf918e0362935e988428ca:/src/catalogue/api/views.py diff --git a/src/catalogue/api/views.py b/src/catalogue/api/views.py index 7457b6f1b..0f3a95fa2 100644 --- a/src/catalogue/api/views.py +++ b/src/catalogue/api/views.py @@ -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() ])