diff --git a/src/Listeners/UpdateSyncedResource.php b/src/Listeners/UpdateSyncedResource.php index 40d4d644..f09437f3 100644 --- a/src/Listeners/UpdateSyncedResource.php +++ b/src/Listeners/UpdateSyncedResource.php @@ -82,7 +82,7 @@ class UpdateSyncedResource extends QueueableListener return $centralModel->tenants->filter(function ($model) use ($currentTenantMapping) { // Remove the mapping for the current tenant. - return ! $currentTenantMapping($model); + return ! $model->wasRecentlyCreated || ! $currentTenantMapping($model); }); }