From 7d0118e0773ba9ca80b6f1a8d431f1b2f7a0aadc Mon Sep 17 00:00:00 2001 From: "Ronald A. Richardson" Date: Wed, 22 Apr 2026 14:44:39 +0800 Subject: [PATCH] fix: Fix company user syncs to sandbox, bump to v1.6.42 --- composer.json | 2 +- src/Console/Commands/SyncSandbox.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index a82b810..e75bb40 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "fleetbase/core-api", - "version": "1.6.41", + "version": "1.6.42", "description": "Core Framework and Resources for Fleetbase API", "keywords": [ "fleetbase", diff --git a/src/Console/Commands/SyncSandbox.php b/src/Console/Commands/SyncSandbox.php index c8ceebe..5a0081f 100644 --- a/src/Console/Commands/SyncSandbox.php +++ b/src/Console/Commands/SyncSandbox.php @@ -79,7 +79,7 @@ public function handle() foreach ($all as $record) { // Clone record $clone = collect($record->toArray()) - ->only($record->getFillable()) + ->only(['uuid', 'created_at', 'updated_at', ...$record->getFillable()]) ->toArray(); if (!isset($clone['uuid']) || !is_string($clone['uuid'])) {