diff --git a/src/Database/Mirror.php b/src/Database/Mirror.php index ecbcc329f..4f212fd0c 100644 --- a/src/Database/Mirror.php +++ b/src/Database/Mirror.php @@ -367,7 +367,8 @@ public function updateAttribute(string $collection, string $id, string $type = n $array, $format, $formatOptions, - $filters + $filters, + $newKey, ); if ($this->destination === null) { @@ -396,7 +397,8 @@ public function updateAttribute(string $collection, string $id, string $type = n $document->getAttribute('array'), $document->getAttribute('format'), $document->getAttribute('formatOptions'), - $document->getAttribute('filters') + $document->getAttribute('filters'), + $newKey, ); } catch (\Throwable $err) { $this->logError('updateAttribute', $err);