diff --git a/src/Xhgui/Saver/MongoSaver.php b/src/Xhgui/Saver/MongoSaver.php index 038779db9..50c006c1f 100644 --- a/src/Xhgui/Saver/MongoSaver.php +++ b/src/Xhgui/Saver/MongoSaver.php @@ -42,7 +42,7 @@ public function save(array $data, string $id = null): string 'profile' => $this->encodeProfile($data['profile']), ]; - $this->_collection->insert($a, ['w' => 0]); + $this->_collection->insert($a, ['w' => 1]); return (string)$a['_id']; }