]> _ Git - fluidbook-toolbox.git/commitdiff
wip #7734 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 12 Sep 2025 14:57:48 +0000 (16:57 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 12 Sep 2025 14:57:48 +0000 (16:57 +0200)
app/Http/Controllers/API/FluidbookPublicationAPIController.php

index 96fa4da730fd29fee9043a0c1c13417b330b97c1..a21b546aa3f416ddca172b74c9649becbbff1bb5 100644 (file)
@@ -37,6 +37,7 @@ class FluidbookPublicationAPIController extends Controller
             'title' => $fluidbook->title,
             'lang' => $fluidbook->locale,
             'locale' => $fluidbook->locale,
+            'pages' => $fluidbook->getPagesNumber(),
             'date' => (new \DateTime($fluidbook->updated_at))->getTimestamp()]);
     }