fixing various stuff
This commit is contained in:
@@ -68,9 +68,9 @@ class ImageService
|
||||
return $this->notFoundImage;
|
||||
}
|
||||
|
||||
$image->filter(new $this->channelService->channel->imageFilters[$template]);
|
||||
$image = $image->filter(new $this->channelService->channel->imageFilters[$template]);
|
||||
try {
|
||||
$image->encode('webp', 75);
|
||||
$image = $this->imageManager->make((string)$image->encode('webp', 75));
|
||||
$image->save($templateFilePath);
|
||||
} catch (Exception $e) {
|
||||
$this->logger->error($e->getMessage());
|
||||
|
||||
@@ -211,9 +211,9 @@ class RecordController extends Controller
|
||||
->limit(1)
|
||||
->skip(0)
|
||||
->childrenDepth(2)
|
||||
->childrenLimit(100)
|
||||
->childrenLimit(200)
|
||||
->parentsDepth(1)
|
||||
->parentsLimit(100)
|
||||
->parentsLimit(200)
|
||||
->run();
|
||||
|
||||
if ($graph->records->isEmpty()) {
|
||||
|
||||
@@ -107,7 +107,6 @@ readonly class RecordService
|
||||
bool $updateEdges = false
|
||||
): void
|
||||
{
|
||||
|
||||
$record = $this->query->filter(["id" => $id])->run()->records->first();
|
||||
|
||||
if (empty($record)) {
|
||||
|
||||
Reference in New Issue
Block a user