]> BookStack Code Mirror - bookstack/blobdiff - app/Api/ApiDocsGenerator.php
Fixed occurances of altered titles in search results
[bookstack] / app / Api / ApiDocsGenerator.php
index ea77ae45084cd91b8a3db1d13f546372629ce77b..d130304de0327ede3cdbdcd1f8ebf81350af64d1 100644 (file)
@@ -28,7 +28,7 @@ class ApiDocsGenerator
         if (Cache::has($cacheKey) && config('app.env') === 'production') {
             $docs = Cache::get($cacheKey);
         } else {
-            $docs = (new static())->generate();
+            $docs = (new ApiDocsGenerator())->generate();
             Cache::put($cacheKey, $docs, 60 * 24);
         }